Create a new version tag with release message and push to trigger GoReleaser. Use when user wants to release, tag, bump version, or publish a new version.
Create and push a new version tag to trigger the GoReleaser CI pipeline.
Check current state
git status to ensure working directory is cleanGet the latest tag
git tag -l --sort=-v:refname | head -1 to get the current versionv0.0.XDetermine next version
Gather release notes
git log $(git describe --tags --abbrev=0)..HEAD --oneline to see commits since last tagCreate and push the tag
git tag -a vX.Y.Z -m "Release message"git push origin vX.Y.ZConfirm success
Use a concise summary of changes. Examples:
Fix homebrew cask configurationAdd dark mode support, fix memory leak, improve performance# Check status
git status
# Get current version
git tag -l --sort=-v:refname | head -1
# Output: v0.0.5
# See changes since last tag
git log v0.0.5..HEAD --oneline
# Create tag
git tag -a v0.0.6 -m "Move main.go to cmd package, update goreleaser config"
# Push tag
git push origin v0.0.6