-
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
fix: gitlab release creation #205
fix: gitlab release creation #205
Conversation
77fda1f
to
4e4e125
Compare
@@ -73,14 +73,14 @@ function conventionalGitlabReleaser (auth, changelogOpts, context, gitRawCommits | |||
return | |||
} | |||
|
|||
const url = `projects/${escape(context.owner + `/` + context.repository)}/repository/tags` | |||
const url = `projects/${escape(context.owner + `/` + context.repository)}/releases` |
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.
@hutson could you take a look at this? Due to the Gitlab API deprecation, this issue became a blocker for us, we have to manually tag new releases since then. |
@oroce generally this change looks good. I do have a few requests if you would be willing to make a few changes:
Since this Pull Request changes the API end-point, and increases the minimum version of GitLab required, I will need to release the change as a new major version. |
31748e6
to
68f6fbb
Compare
@hutson thanks for the detailed list, I did all of them. To be honest the tidelift At the end I had to delete both of the CHANGELOGs. The cleanest solution would be
Please let me know if I can help. |
I removed the Can you rebase please? At that point I believe we can get this merged and released. |
68f6fbb
to
da4cfcb
Compare
Creating release on `repository/tags` endpoint has been deprecated and marked for removal on gitlab. This causes non-zero exit codes, therefore, breaking automatic CI pipelines. Fixes conventional-changelog#204 BREAKING CHANGE: in Gitlab 14 the release notes creation via tags api is removed. It can be done with releases api, the minimum Gitlab version changed to 11.11. Signed-off-by: Robert Oroszi <robert@oroszi.net>
da4cfcb
to
19da7d1
Compare
Thanks a lot. I rebased. |
@conventional-changelog/releaser-tools I do not have access to the npm packages to publish new versions. Can one of you please run Here's what you should see:
|
Is there an ETA on when the npm package will be published? |
Creating release on
repository/tags
endpoint has been deprecated and marked for removal on gitlab.This causes non-zero exit codes, therefore, breaking automatic CI pipelines.
Fixes #204
ps: I removed the
Release
prefix, I think it wasn't used previously (at least I haven't seen it in our projects where a couple of hundreds of releases were created by this module).update: I had to remove
packages/conventional-tidelift-releaser/changelog.md
(not to be confused with CHANGELOG.md), which was empty file I guess accidentally pushed, but the default OSX file system is case insensitive)