arcticfox-gh/Version Generator
A GitHub Action that will generate a version string for publishing artefacts based on the branch and build time
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Aug 18, 2021
- License
- None
Pinned Snippet
uses: arcticfox-gh/versiongenerator@e99dd3a578b02654eed567120b19d0757b622b82 # no releases — HEAD as of 2026-07-12tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| branch | The branch name. Assign from github.ref. Example, "refs/heads/main". | yes | — |
| dir | The root directory to work from. Example, "path/to/code". | yes | — |
| versionFilename | The name of the file that holds the x.x.x version | yes | — |
Outputs
| name | description |
|---|---|
| artefact-version | The Version string in a x.y.z-branch-buildTime format |