Documentation
¶
Overview ¶
usr/bin/env go run "$0" "$@"; exit
bin/semver/next.go - next semver from conventional commits since the last tag.
bin/semver/next.go # last tag..HEAD bin/semver/next.go v0.1.0 v0.1.0..HEAD # explicit tag + range prints: v0.1.1 | v0.2.0 | v1.0.0 | none
Bump rules (conventional commits):
BREAKING CHANGE / feat! -> major feat: -> minor fix:, perf:, refactor:,... -> patch no commits in range -> none
NOTE: never run `gofmt -w` on this file — it breaks the shebang.
Click to show internal directories.
Click to hide internal directories.