truecommerce/Version
A composite GitHub action used to calculate the next (or current in the case of releases) SemVer version number during a build.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| release-branch | The branch where release tags are added. Usually main or master. Default is master. | no | master |
Outputs
| name | description |
|---|---|
| semver | Format: {major}.{minor}.{patch}-{branch}.{commits}.{hash} |
| semverWithBuildMetadata | Format: {major}.{minor}.{patch}-{branch}.{commits}.{hash}+{metadata} |
| semverMajor | Format: {major} |
| semverMajorMinor | Format: {major}.{minor} |
| semverMajorMinorPatch | Format: {major}.{minor}.{patch} |