nicolas-deleplace/Version Number Generator

Generate semantic version and build numbers (sequential or date-based) for GitHub Actions workflows

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenGitHub Token to create and delete refs (typically secrets.GITHUB_TOKEN)yes
prefixPrefix for the version tag (e.g. app1 -> auto-vX.Y.Z)no""
incrementVersion increment strategy: buildNumber, bug, patch, minor, feature, major, nonenopatch
build_number_modeChoose build number format: sequential (default) or date (YYYYMMDD.x)nosequential
build_number_reinitSet to true to reset the build number to 1 for a given versionnofalse
dry_runIf true, simulate run without creating or deleting tagsnofalse
namedescription
version_numberGenerated semantic version (e.g. 2.3.1)
build_numberGenerated build number (e.g. 4 or 2025042401 depending on mode)
tag_labelNewly created tag label (e.g. staging-auto-v2.3.1-4)
old_tag_labelPrevious tag label found in repository (if applicable)
previous_tag_labelDEPRECATED — alias of `old_tag_label`, kept for backwards compatibility. Will be removed in v3. Migrate consumers to `old_tag_label`.