miguelfito/GitHub Bump & Tag

Bump and tag certain commit, with the latest SemVer formatted version

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
github_tokenRequired for permission to tag the repo.yes
commit_shaWhich commit id want to tag (default: `GITHUB_SHA`)noGITHUB_SHA
default_bumpWhich type of bump to use when none explicitly provided (default: `patch`).nopatch
tag_prefixA prefix to the tag name (default: `v`).nov
append_to_pre_release_tagA suffix to a pre-release tag name (default: `<branch>`).no
custom_tagCustom tag name. If specified, it overrides bump settings.no
release_branchesComma separated list of branches (bash reg exp accepted) that will generate the release tags. Other branches and pull-requests generate versions postfixed with the commit hash and do not generate any tag. Examples: `master` or `.*` or `release.*,hotfix.*,master`...nomaster
pre_release_branchesComma separated list of branches (bash reg exp accepted) that will generate pre-release tags.no
create_annotated_tagBoolean to create an annotated tag rather than lightweightnofalse
dry_runDo not perform tagging, just calculate next version and changelog, then exitnofalse
namedescription
new_tagGenerated tag
new_versionGenerated tag without the prefix
previous_tagPrevious tag (or `0.0.0`)
changelogThe conventional changelog since the previous tag