mirror of
https://github.com/semver/semver.git
synced 2026-07-11 03:53:53 -05:00
[GH-ISSUE #705] Tag version is not creating in Orderwise #3193
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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.
@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?
@shilpabhapri commented on GitHub (May 31, 2021):
Hi @ljharb
Kindly help us in understanding what could be the reason for disorder Tag creation.
@ljharb commented on GitHub (May 31, 2021):
@shilpabhapri a bug in gitlab. file it there.
@shilpabhapri commented on GitHub (May 31, 2021):
Hello, ljharb ..
Thanks for your kind responses!!