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

self-hosted GitLab - no issue links in release notes #584

Open
chopeen opened this issue Jan 3, 2024 · 0 comments
Open

self-hosted GitLab - no issue links in release notes #584

chopeen opened this issue Jan 3, 2024 · 0 comments

Comments

@chopeen
Copy link

chopeen commented Jan 3, 2024

I have a CI pipeline with semantic-release configured and it is working as expected, expect for lack of issue links in the generated release notes.

Here's the debug output - what baffles me is the host appearing twice, with different values!

Which setting is it?
Is it a setting of conventional-changelog (discussed here) or is it a setting of release-notes-generator?

[9:42:34 AM] [semantic-release] › ℹ  Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
2024-01-03T09:42:34.862Z semantic-release:release-notes-generator version: '1.0.4'
2024-01-03T09:42:34.863Z semantic-release:release-notes-generator host: undefined
2024-01-03T09:42:34.863Z semantic-release:release-notes-generator owner: 'foorbar'
2024-01-03T09:42:34.863Z semantic-release:release-notes-generator repository: 'semantic-release-example'
2024-01-03T09:42:34.863Z semantic-release:release-notes-generator previousTag: '1.0.3'
2024-01-03T09:42:34.863Z semantic-release:release-notes-generator currentTag: '1.0.4'
2024-01-03T09:42:34.863Z semantic-release:release-notes-generator host: 'https://my.instance.com'
2024-01-03T09:42:34.863Z semantic-release:release-notes-generator linkReferences: true
2024-01-03T09:42:34.863Z semantic-release:release-notes-generator issue: 'issues'
2024-01-03T09:42:34.863Z semantic-release:release-notes-generator commit: 'commit'
[9:42:34 AM] [semantic-release] › ✔  Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator"
[9:42:36 AM] [semantic-release] › ✔  Created tag 1.0.4
[9:42:36 AM] [semantic-release] › ℹ  Start step "publish" of plugin "@semantic-release/gitlab"
2024-01-03T09:42:36.942Z semantic-release:gitlab repoId: 'foorbar/semantic-release-example'
2024-01-03T09:42:36.942Z semantic-release:gitlab release name: '1.0.4'
2024-01-03T09:42:36.942Z semantic-release:gitlab release ref: '042dcfbdcba97ba06a90d5990fc6e73938e6a4d6'
2024-01-03T09:42:36.942Z semantic-release:gitlab milestones: undefined
2024-01-03T09:42:36.942Z semantic-release:gitlab Create a release for git tag '1.0.4' with commit '042dcfbdcba97ba06a90d5990fc6e73938e6a4d6'
2024-01-03T09:42:36.942Z semantic-release:gitlab POST-ing the following JSON to https://my.instance.com/api/v4/projects/foorbar%2Fsemantic-release-example/releases:
{
  "tag_name": "1.0.4",
  "description": "## [1.0.4](https://my.instance.com/foorbar/semantic-release-example/compare/1.0.3...1.0.4) (2024-01-03)\n\n\n### Bug Fixes\n\n* Try writerOpts ([713837c](https://my.instance.com/foorbar/semantic-release-example/commit/713837c11e190003e40f54a173f687bfffc8f5fb))\n\n",
  "assets": {
    "links": []
  }
}

For a self-hosted GitLab instance, what options should I set to have issue links in the generated release notes?

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

1 participant