Mention which release in commit message 56/89956/1
authorThanh Ha <zxiiro@gmail.com>
Tue, 26 May 2020 11:57:49 +0000 (07:57 -0400)
committerThanh Ha <zxiiro@gmail.com>
Tue, 26 May 2020 11:57:49 +0000 (07:57 -0400)
Make the generate release notes script create a more descriptive
commit message that contains the release.

Change-Id: I5cae22a04cacf7f305579c1c15a00999ba1a7b50
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
jjb/autorelease/generate-release-notes.sh

index c741d75aafaf4ea72fd7377a9f1433c1dff90aba..f0795e9e5f8f9016ea069baabca04b161def8e53 100644 (file)
@@ -36,7 +36,7 @@ cd "$DOCS_DIR" || exit 1
 cp "$WORKSPACE/release-notes.rst" "docs/release-notes/release-notes-${RELEASE,,}.rst"
 git add docs/release-notes/
 
-GERRIT_COMMIT_MESSAGE="Update release notes"
+GERRIT_COMMIT_MESSAGE="Update release notes for $RELEASE"
 GERRIT_TOPIC="autogenerate-release-notes"
 CHANGE_ID=$(ssh -p 29418 "jenkins-$SILO@git.opendaylight.org" gerrit query \
                limit:1 owner:self is:open project:docs \