np
np copied to clipboard
GitLab release draft
Description
There is an option to create GitHub releases. Are there any plans to do the same for GitLab?
Possible implementation
I could help with implementation.
Does GitLab support a query string for prefilling a release note like GitHub does?
According to the GitLab Releases API, it's a post request that supports creating release notes with a description
string in the body. Should work just like np
current release note creation with github, albeit with a different request structure.
@dopecodez np
doesn't do a POST request. np
just opens a URL with some search params. Doing a POST request would involve authentication and I'm not interested in going down that road.
I would recommend opening an issue on GitLab about supporting the same URL creation as GitHub does: https://github.com/sindresorhus/new-github-release-url
Ah, makes sense. Going down the authentication path would add quite an amount of overhead. I think we can wait and see if GitLab is interested in supporting URL's before we take this up.
Maybe this could help: https://gitlab.com/user-name/repository-name/-/releases/new
, I mean, it’s not exactly the same as the GitHub does, but it’s something :)