bencatlab/AutoBashed Semantic Versioning (SemVer) for RELEASE and SNAPSHOT
Generate Semantic Version based on Conventional Commit, update whatever.json and bump Tag, via Bash
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jul 27, 2023
- License
- Public domain
Pinned Snippet
uses: bencatlab/autobashed-semver@8b0666c1309435a4540fd5de3b3e672c0de4fef6 # v2.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| bump-tag | Bump Tag to Git repository | no | true |
| file-update | Updates file with new semver and add change to last commit | no | true |
| file-path | File path to update (JSON ONLY) | no | package.json |
| major | Wording for MAJOR | no | BREAKING |
| minor | Wording for MINOR | no | feat |
| prefix | Set a prefix to your tag | no | "" |
| enable-snapshot | Generate SNAPSHOT instead of RELEASE | no | false |
| snapshot-suffix | Suffix for SNAPSHOT version (e.g: 1.0.1-SNAPSHOT) | no | SNAPSHOT |
Outputs
| name | description |
|---|---|
| semver | Next generated SemVer as string |