New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: get correct version if prerelease branch shares version with ... #2416
Conversation
24de2a4
to
406b9ad
Compare
406b9ad
to
6d6acd3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Tlepel! Thanks for making this PR, I just happened to run into the same issue. I think I found a potential issue with this PR though. (See the code comment.)
6d6acd3
to
e6ea0e2
Compare
1dd1fcb
to
5bd7b02
Compare
5bd7b02
to
c480244
Compare
c480244
to
ca4fba5
Compare
ca4fba5
to
753bac8
Compare
753bac8
to
a5dc2d3
Compare
a5dc2d3
to
4512679
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
4512679
to
ef82181
Compare
ef82181
to
445861c
Compare
445861c
to
c1b4646
Compare
c1b4646
to
bd378c7
Compare
@travi whould you have time to review this PR? I try to rebase every time commits were merged to |
1665c39
to
15aad9e
Compare
We use two pre-release channels on our projects: alpha and beta. We used to have a problem since channels are stored in the tag notes: when a commit is released to the alpha channel and then the beta channel, every thing is fine, but when another commit is released to the alpha channel (if the previous is not released in the main branch), the previous alpha release is not found and it try to create another alpha release with the same version... This PR fixes our issues. |
73471f3
to
da9544b
Compare
Could we get this reviewed and merged? 😇 |
da9544b
to
94b725e
Compare
For those who are tired to wait for this merge I found another project that could do the job: convco. They have just added the prerelease management. It does not work the same as Semantic Release, but it should work fine. |
94b725e
to
e8f6fee
Compare
e8f6fee
to
1ab4f6e
Compare
1ab4f6e
to
be9e36f
Compare
I have same issue... Anyone if we can work around the problem temporarily? |
You can use the @Tlepel version instead of the official one. Instead of installing semantic-release official version use the next code: npm i "https://github.com/Tlepel/semantic-release.git#fix-versions-share-head" The problem with this solution is that the this PR is FINALLY merged, you'll have to change your CI back to the official version of semantic release, since this branch will be closed. |
be9e36f
to
fe3b22d
Compare
fe3b22d
to
f23984b
Compare
f23984b
to
d39357c
Compare
5f85888
to
d8da89b
Compare
d8da89b
to
f17288c
Compare
Is he going to break the record for the longest ever rebase run? :) |
I sure hope not 😅 |
f17288c
to
87c82bc
Compare
87c82bc
to
3ebc0dd
Compare
3ebc0dd
to
448fd3f
Compare
448fd3f
to
d7cfe02
Compare
Looks more and more like it. Anyone any idea what the record is? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright sorry for the wait! We hoped to find the time to do a deeper dive into potential unwanted side effects, but at this point all your contributions (and patience) outweigh the risk. Thank you all 💐💝
🎉 This PR is included in version 21.0.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…other branches
Fixes #2415