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
Steps:
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