Skip to content

Version is not updated in certain cases #221

@Chetan1318

Description

@Chetan1318

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions