mathieudutour / mathieudutour/github-tag-action

Version is not updated in certain cases

Open
#221 1 comment 0 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

Steps:
1.
Create branch - CICD-304
Push some code into that branch and trigger GitHub action workflow
It will generate version like v1.0.1-CICD-304.0 (Working as expected)

Create another branch - CICD-304-Test
Push some code into that branch and trigger GitHub action workflow
It will generate version like v1.0.1-CICD-304-Test.0 (Working as expected)

Now if we push the code into branch CICD-304, and workflow ran, it is giving error This tag already exists. Skipping the tag creation. Ideally it should create version like v1.0.1-CICD-304.1, but it is not. and it is showing previous version as v1.0.1-CICD-304-Test.0

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

No source file or test is identified in the issue. Reproduce the workflow using the CICD-304, CICD-304-Test, and CICD-304 branch sequence, then trace the action's version and tag handling. Done means the later CICD-304 run creates v1.0.1-CICD-304.1 instead of skipping the existing tag or showing the other branch's version.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.