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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
no inputs
Outputs
| name | description |
|---|---|
| version_tagged | For 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_commit | For 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. |