gregorygost/Version Tagger

GitHub Action to automate tag-based version control. For both production and development.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenThe GitHub Token to use for reference management in the repoyes
versionVersion from previous action output. Pattern semver https://semver.org/: `x.y.z`no
uselasttagUse latest available tag as source version. Applies the latest available tag received from the repository for the source version. If there are no available tags, it takes the version from the base logic: `package.json` file or default version `0.1.0`nofalse
prefixA prefix that will appear immediately before the tag version. Example: `v` => `v1.0.0`no
postfixPostfix that will appear immediately after the tag version. Example: `beta` => `v1.0.0-beta.0`no
postfixnoupDo not apply version upgrade to postfix. No number will be added to the postfix. Example: `v1.0.0-beta`, `2.5.1-rc`nofalse
metadataAdd your own metadata, or use the sliced sha1 version hash.. Example: `build123` or `fyf2c5fr` => `v1.0.0-beta.1+fyf2c5fr`no
releasetypeRelease type version. `major`(X.y.z) or `minor`(x.Y.z) or `patch`(x.y.Z). If not specified, then no version will be incremented. All variants: `major`, `premajor`, `minor`, `preminor`, `patch`, `prepatch`, `prerelease`. More in semver doc: https://github.com/npm/node-semver/blob/main/README.mdno
autoForced version update. DANGEROUS-1!!! May be incorrect because in some cases duplicates the version upgrade. DANGEROUS-2!!! The version in the file may not match what will be in the tags as a result. If `FALSE`, no automatic promotions will be made.nofalse
dryrunIf this value is true, the tag will not be pushed. Use for test this actionnofalse
namedescription
newtagOutput of the resulting tag. Example: `v1.0.0` | `v1.2.0-beta.5`