diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2019-04-04 23:47:46 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2019-04-04 23:47:46 +0300 |
commit | c3f66cabbc18ac38c870656e3cd7602b6a9be98a (patch) | |
tree | 166e2ef16638e2b200b8b2b39b1a171765a55c39 /_support | |
parent | 21da45a82368058fb773d2811d5b43435169cc99 (diff) |
Refer to changelog in upstream MR template
Diffstat (limited to '_support')
-rwxr-xr-x | _support/update-downstream-server-version | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/_support/update-downstream-server-version b/_support/update-downstream-server-version index 5ec96a109..8658614db 100755 --- a/_support/update-downstream-server-version +++ b/_support/update-downstream-server-version @@ -67,12 +67,20 @@ def update_gitaly_version(project_id, tag_version) end def create_mr(project_id, tag_version, assignee_id) + anchor = 'v' + tag_version.tr('.', '') + description = <<~MR + Upgrade Gitaly to #{tag_version}. + + See the [Gitaly changelog](https://gitlab.com/gitlab-org/gitaly/blob/master/CHANGELOG.md##{anchor}) + for an overview of the changes. + MR + merge_request = { "source_branch": "gitaly-version-#{tag_version}", "target_branch": "master", "title": "Upgrade Gitaly to #{tag_version}", "assignee_id": assignee_id, - "description": "Upgrade Gitaly to #{tag_version}", + "description": description, "labels": "Gitaly,backstage", "remove_source_branch": true, "squash": true |