Skip to content

Rasalas/tagger

Repository files navigation

tagger

Semantic Git tagging based on Conventional Commits.

Tagger reads commits since the last tag, determines the next semver bump (major/minor/patch), and creates the tag. No changelog, no release notes — just the tag.

Usage

# Preview what would happen
tagger bump --dry-run

# Create the next tag (with confirmation prompt)
tagger bump

# Create and push, skip confirmation
tagger bump --push --yes

# Force a specific bump level
tagger bump --major
tagger bump --minor
tagger bump --patch

Flags

Flag Short Default Description
--push -p false Push tag after creation
--yes -y false Skip confirmation prompt
--dry-run false Show what would happen without making changes
--major false Force a major bump
--minor false Force a minor bump
--patch false Force a patch bump
--prefix v Tag prefix

Conventional Commits

Tagger uses Conventional Commits to determine the bump level:

Commit Bump
feat: ... minor
fix: ... patch
refactor: ... patch
perf: ... patch
revert: ... patch
feat!: ... or BREAKING CHANGE: in body major
anything else none (ignored)

Install

go install github.com/rasalas/tagger@latest

About

Semantic Git tagging based on Conventional Commits

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages