lpenz/Version generator

Github action that outputs various version options for you to choose and use in a deploy action, with zero configuration

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None

no inputs

namedescription
version_taggedFor repositories that should only deploy on tags, it's defined if the github event was a push of a tag. The output itself is the tag, with the optional `v` stripped.
version_commitFor repositories that deploy on all commits to `master` or `main`, it's defined if the github event was a push to one of those. The output itself is the most recent tag on the branch, with the optional `v` stripped, followed by the distance between the branch and the tag.