Np: GitLab release draft

Created on 19 Apr 2020  路  4Comments  路  Source: sindresorhus/np

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.

wontfix

Most helpful comment

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.

All 4 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sindresorhus picture sindresorhus  路  7Comments

dotconnor picture dotconnor  路  4Comments

nickthesing picture nickthesing  路  5Comments

natesilva picture natesilva  路  5Comments

ProfessorManhattan picture ProfessorManhattan  路  4Comments