-
Notifications
You must be signed in to change notification settings - Fork 34
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
CLI default options now removing tag prefixes #44
Comments
I have the exact same workflow and the exact same issue. It appears that this project's own releases also went from having a https://github.com/conventional-changelog/conventional-github-releaser/releases |
+1 |
Can confirm: works as expected on |
I'm pretty sure the missing That change switched to using I'll continue looking into the issue later, but in the meantime does anyone have any suggestion for a package that can extract semantic valid versions, while keeping the leading |
I've published version v1.1.10 which contains a fix to the The Full details available in the commit message - 1b6a68c I've also added additional unit tests to check for the desired behavior and prevent future regression. In closing, I'm really sorry for the bug I introduced, and I hope y'all will continue to use |
Don't remove the leading `v` from a git tag found to be a semantically valid version tag. Previous behavior was based on a third-party package that removed the leading `v` in front of a semantically valid version tag. Though the behavior was correct for that package, we need to preserve the leading `v` for the purpose of publishing. If the tag has a leading `v`, perhaps because the user has specifically tagged their repository using a leading `v`, they likely expect that `v` to be used as the tag on GitHub, and as the name of the GitHub release page associated with that tag. Therefore we must preserve the leading `v` in all semantically valid version tags. Closes #44
I'm using a
v
prefix for my version tags (v1.0.0
), andI'm using
conventional-github-releaser
from the CLI.After tagging the repo, I run the following commands:
git push --follow-tags origin master
conventional-github-releaser -t $GITHUB_TOKEN -p angular
If my tag is
v1.0.1
, instead of creating the release on that tag,conventional-github-releaser
is adding a new tag to my remote repo, without the prefix:1.0.1
. It then attaches the release to that tag, instead of the one that I actually pushed. It doesn't delete the prefix tag, it just fails to use it.This behavior started sometime between
1.1.3
and1.1.9
The text was updated successfully, but these errors were encountered: