-
-
Notifications
You must be signed in to change notification settings - Fork 298
Closed
Description
Description
If I have a tag 1.2.3-rc1
on a commit, and all internal QA testing has passed, I want to be able to say that the same commit is now 1.2.3
, without a specific bump commit. (I'd prefer to just push a tag to start release process, rather then merge a bump to main and sync with prod).
Steps to reproduce
- Put two tags (
1.2.3-rc1
and1.2.3
) on the same commit - Generate a changelog with
--merge-prerelease
Current behavior
Commits gets grouped under 1.2.3-rc1
.
Desired behavior
I would expect precedence of tags on same commit to be 1.2.3-rc1
< 1.2.3
.
SemVer 1.0 specification does not seem to say anything about precedence for .dev versions, but I would expect them to be 1.2.3-rc1.dev1
< 1.2.3-rc1.dev2
< 1.2.3-rc1
< 1.2.3
, but I'm not sure about that one.
Screenshots
No response
Environment
commitizen version 3.22.0
python version 3.8.10
os Ubuntu 20.04 on WSL