-
Notifications
You must be signed in to change notification settings - Fork 47
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
Comparison links in changelog not working for bitbucket #131
Comments
We use conventional-changelog/conventional-changelog to generate the content of the changelog. The problem is over there: conventional-changelog/conventional-changelog#185 |
Since it doesn't look like conventional-changelog are too hot on fixing #185 (3 years old), here's an easy workaround for Bitbucket Server! It might be same for cloud, not sure Add following snippet to your package.josn under release -> plugins. You may notice "your-repo-name" is not {{owner}} since the latter incorrectly begins with en/ for bitbucket. That will sort you out for both commit links and compare links. Syntax is taken from here: https://github.com/conventional-changelog/conventional-changelog-config-spec/blob/master/versions/2.0.0/README.md#substitutions-1 |
This config work for me:
|
I've configured a couple of projects on bitbucket cloud to use
semantic-release
, and I've noticed a small issue where thecomopare
link the generatedCHANGELOG.md
results in a 404.Description
Generated release note in
CHANGELOG.md
The link above results in a 404 on bitbucket, instead it should be (found on SO):
Solution
Is this a problem that you're aiming on fixing as part of this package (being that the major git hosting providers seams to be supported)?
The text was updated successfully, but these errors were encountered: