[GH-ISSUE #705] Tag version is not creating in Orderwise #7452

Closed
opened 2026-06-20 17:31:53 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @shilpabhapri on GitHub (May 26, 2021).
Original GitHub issue: https://github.com/semver/semver/issues/705

We have implemented Tag creation using Semantic versioning but today we observed that tag has not created in order wise and unable to proceed with further deployments as the incremental one tag is already been exists.
Example: previous tag: 2.9.8, later minor bump deployment has happened so the tag got generated with this is: 2.10.0 and above to it there is patch deployment completed with tag:2.9.9 .. why is it?
It should have created with 2.10.1 as per my understanding.
Could you please let us know the root cause of this and what is the permanent fix?

I have attached the Tags list.

Tag issue

Originally created by @shilpabhapri on GitHub (May 26, 2021). Original GitHub issue: https://github.com/semver/semver/issues/705 We have implemented Tag creation using Semantic versioning but today we observed that tag has not created in order wise and unable to proceed with further deployments as the incremental one tag is already been exists. Example: previous tag: 2.9.8, later minor bump deployment has happened so the tag got generated with this is: 2.10.0 and above to it there is patch deployment completed with tag:2.9.9 .. why is it? It should have created with 2.10.1 as per my understanding. Could you please let us know the root cause of this and what is the permanent fix? I have attached the Tags list. ![Tag issue](https://user-images.githubusercontent.com/38104365/119642093-fd795c80-be37-11eb-9594-c00ffbe6f676.JPG)
Author
Owner

@ljharb commented on GitHub (May 26, 2021):

That’s an issue with whatever is displaying those tags. Git (with the proper config), and GitHub, for example, sort tags in semver order, not lexicographical order.

<!-- gh-comment-id:848841259 --> @ljharb commented on GitHub (May 26, 2021): That’s an issue with whatever is displaying those tags. Git (with the proper config), and GitHub, for example, sort tags in semver order, not lexicographical order.
Author
Owner

@shilpabhapri commented on GitHub (May 29, 2021):

Hi @ljharb .. Thanks for your response!!
Yes, we are using Semantic Versioning to create the tags automatically (git describe --tags) in our GitLab pipeline. And also choosing the appropriate Labels (Major-bump, Minor-bump and Patch) while creating the merge requests. Still we encountered this issue. Please let me know if any other reason on why the Tags have created in disorder?

<!-- gh-comment-id:850778707 --> @shilpabhapri commented on GitHub (May 29, 2021): Hi @ljharb .. Thanks for your response!! Yes, we are using Semantic Versioning to create the tags automatically (git describe --tags) in our GitLab pipeline. And also choosing the appropriate Labels (Major-bump, Minor-bump and Patch) while creating the merge requests. Still we encountered this issue. Please let me know if any other reason on why the Tags have created in disorder?
Author
Owner

@shilpabhapri commented on GitHub (May 31, 2021):

Hi @ljharb
Kindly help us in understanding what could be the reason for disorder Tag creation.

<!-- gh-comment-id:851100778 --> @shilpabhapri commented on GitHub (May 31, 2021): Hi @ljharb Kindly help us in understanding what could be the reason for disorder Tag creation.
Author
Owner

@ljharb commented on GitHub (May 31, 2021):

@shilpabhapri a bug in gitlab. file it there.

<!-- gh-comment-id:851551537 --> @ljharb commented on GitHub (May 31, 2021): @shilpabhapri a bug in gitlab. file it there.
Author
Owner

@shilpabhapri commented on GitHub (May 31, 2021):

Hello, ljharb ..
Thanks for your kind responses!!

<!-- gh-comment-id:851557388 --> @shilpabhapri commented on GitHub (May 31, 2021): Hello, ljharb .. Thanks for your kind responses!!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/semver#7452