carry0987/Update Release Tag
Automatically create or update sliding version tags (e.g. v1, v1.3) when a new semver tag is pushed.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tag | The source semver tag to slide from (e.g. v1.3.0). Falls back to GITHUB_REF_NAME if omitted. | no | "" |
| levels | Comma-separated tag levels to update: major, minor | no | major |
| prefix | Tag prefix (e.g. v) | no | v |
| skip-prerelease | Skip tag update if the source tag is a prerelease | no | true |
| dry-run | Log what would be done without actually modifying tags | no | false |
Outputs
| name | description |
|---|---|
| tags-updated | Comma-separated list of tags that were created/updated |
| commit-sha | The commit SHA that the source tag points to |
| skipped | Whether the update was skipped (true/false) |
| version | The full semver version without prefix (e.g. 1.3.0) |
| major | The major version number (e.g. 1) |
| minor | The minor version number (e.g. 3) |
| patch | The patch version number (e.g. 0) |
| is-prerelease | Whether the tag is a prerelease version (true/false) |