mathieudutour / mathieudutour/github-tag-action

Question - Possible to omit branch name?

Open
#163 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
733
Forks
227
PR merge metrics
No merged PRs in 30d

Description

I might just be missing something but is it not possible to completely omit the branch name from version tags? I am seeing version tags coming in with the full branch name such as `v0.0.8-`.

So the desired outcome would be `v0.0.8` by itself. I also tried using `append_to_pre_release_tag` set to "" but that defaulted to the full name.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported version-tag behavior with append_to_pre_release_tag set to an empty string, then trace how branch names are added to the tag. Done means a configuration can produce v0.0.8 without a branch suffix, with coverage for the empty-setting case.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github-actions, typescript
Domain
ci-cd, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.