Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2019-04-04 23:47:46 +0300
committerJohn Cai <jcai@gitlab.com>2019-04-04 23:47:46 +0300
commitc3f66cabbc18ac38c870656e3cd7602b6a9be98a (patch)
tree166e2ef16638e2b200b8b2b39b1a171765a55c39 /_support
parent21da45a82368058fb773d2811d5b43435169cc99 (diff)
Refer to changelog in upstream MR template
Diffstat (limited to '_support')
-rwxr-xr-x_support/update-downstream-server-version10
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