Provide method to automatically insert changelog into release
Problem to solve
When creating a release in the
.gitlab-ci.yml (https://gitlab.com/gitlab-org/gitlab-ce/issues/56022), we have a
description: element which can contain (at our suggestion) a changelog. This is inserted as follows:
... runRelease: release: name: My $CI_PROJECT_NAME Release 1.0-$CI_COMMIT_SHORT_SHA tag_name: $CI_COMMIT_TAG ref: $CI_COMMIT_REF_NAME description: ./changelog.txt ...
If we are able to generate a changelog based on what we know is in the release, we could make this automatic. This could interact with https://gitlab.com/gitlab-org/gitlab-ce/issues/20587 to automatically generate the changelog which could then be inserted here.
Release Managers who are manually generating changelogs and inserting them into the
It would be great to have a way to insert a changelog automatically into the description, perhaps using git tags, issues, or some other means? I'm not sure what the current best way is to implement this instead of requiring the end user to generate the file. At least in cases where they are using issues in GitLab.
What does success look like, and how can we measure that?
Links / references