alacrity-sg/Generate Build Version
Generates unique build-version number for builds
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Apr 25, 2025
- License
- Apache 2.0
Pinned Snippet
uses: alacrity-sg/build-version@016b4d08865dfdb9773177035ef452460d013b85 # v1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-path | Path to the repository | no | ./ |
| increment-type | Set increment type as either 'major', 'minor' or 'patch'. Defaults to 'patch' | no | patch |
| checkout | Checkout the repository before generating the build version | no | true |
| arch | Architecture to use for build. Defaults to amd64 | no | amd64 |
Outputs
| name | description |
|---|---|
| BUILD_VERSION | Generated build version number |
| BUILD_VERSION_V | Generated build version number with v as prefix |