mathieudutour / mathieudutour/github-tag-action
Tag trailing .0
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 733
- Forks
- 227
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
Is there a way to remove the trailing `.0` for the generated tag when `append_to_pre_release_tag` is set? We are currently setting the following options:
```
custom_release_rules: "MAJOR:major,MINOR:minor,PATCH:patch"
dry_run: true
append_to_pre_release_tag: ${{ env.branch }}
```
The generated tag ends up coming out similar to `v1.2.3-feature-CO-12345-some-description.0`, which ideally it would come out as `v1.2.3-feature-CO-12345-some-description`. Any guidance would be appreciated. Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the generated tag using the issue's custom_release_rules, dry_run, and append_to_pre_release_tag settings. Trace how the GitHub Action builds the SemVer tag, then verify that the same configuration produces v1.2.3-feature-CO-12345-some-description without the trailing .0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, github-actions, typescript
- Domain
- devops, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100