hfm
hfm

Reputation: 585

Support for auto generated "Release notes" in GitLab

We are planning on migrating from Jira+Gerrit to GitLab. One important feature that we are using in Jira is the auto generation of release notes.

Question: Is there any similar functionality in GitLab?

Upvotes: 9

Views: 11814

Answers (3)

Tom Tom
Tom Tom

Reputation: 41

If you are interested, I have developed a Python lib to generate release notes or changelog automatically, listing merge requests since the last release of a GitLab repository. The source code is here with instructions on how to use it: https://github.com/vuillaut/gitlab_release_notes

You may use the online app here for a more convenient approach: https://purl.org/gitlab_release_notes/app

Upvotes: 0

VonC
VonC

Reputation: 1326686

2020: this is possible with GitLab, see:

How GitLab is automating release generation in .gitlab-ci.yml, from Jackie Meshell

The release-cli tool is written in Go and can be called directly to create a Release via the API, given the right job token and parameters are provided.
The more likely way users will interact with this tool will be in the YAML file as a job:

release_upload:
  image: registry.gitlab.com/gitlab-org/release-cli:v0.1.0
  script:
    - gitlab-releaser create --name="My Release" --description="My Release description"

Note that GitHub also support a similar feature in Oct. 2021, as annouced in GitHub Universe 2021.


2014: Not in GitHub directly.

If your commit messages follow some policy, you could consider generating a release note from said commits.

See for instance:

Upvotes: 2

Henry Aloni
Henry Aloni

Reputation: 647

Well, update to gitlab 8.2.0 https://about.gitlab.com/2015/11/22/gitlab-8-2-released/

It says you have the ability to add release notes (markdown text and attachments) to git tags (aka Releases).

Now just create a tag per release, and then you'll see the markdown.

Upvotes: 2

Related Questions