Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version is not updated in certain cases #221

Open
Chetan1318 opened this issue Aug 29, 2024 · 1 comment
Open

Version is not updated in certain cases #221

Chetan1318 opened this issue Aug 29, 2024 · 1 comment

Comments

@Chetan1318
Copy link

Chetan1318 commented Aug 29, 2024

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

@Chetan1318
Copy link
Author

Workflow file

create_version.yml.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant