Skip to content
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

Compare-Link in CHANGELOG.md broken #79

Open
matthiasritter opened this issue Dec 4, 2023 · 4 comments
Open

Compare-Link in CHANGELOG.md broken #79

matthiasritter opened this issue Dec 4, 2023 · 4 comments

Comments

@matthiasritter
Copy link

matthiasritter commented Dec 4, 2023

Hi,
since a few version we recognize, that the compare-link is broken:
Our ".release-it.json"-Configfile:

{
  "git": {
    "commitMessage": "chore: bump ${version}",
    "tag": false,
    "requireUpstream": false
  },
  "plugins": {
    "@release-it/conventional-changelog": {
      "preset": "conventionalcommits",
      "infile": "CHANGELOG.md"
    }
  }
}

What it looks like and what it looked like:

## [0.37.0](///compare/0.36.1...0.37.0) (2023-11-23)


### Features

* add feature abc 15dd5fa

### [0.36.1](https://gitlab.our-company.com/project/modules/very-cool-module/compare/0.36.0...0.36.1) (2023-11-22)


### Features

* add feature 123 3523d5f

Used Versions:

  • release-it: I tried v16.3.0 and v17.0.0
  • @release-it/conventional-changelog@8.0.1
@webpro
Copy link
Contributor

webpro commented Feb 15, 2024

I this the same issue as #82?

Either way, feel free to open a PR with a fix.

@YOEL311
Copy link

YOEL311 commented Feb 27, 2024

@matthiasritter
you can use compareUrlFormat config option

see here
#82 (comment)

@matthiasritter
Copy link
Author

Hi @YOEL311 ,
thank you for your answer. Unfortunately that did not work for self-hosted gitlab.

@YOEL311
Copy link

YOEL311 commented Feb 27, 2024

@matthiasritter
can you share your package.json file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants