Fix: Include file name in index.rst 23/97423/1
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 8 Sep 2021 13:39:12 +0000 (23:39 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 8 Sep 2021 13:47:54 +0000 (23:47 +1000)
The missing file-name in the index.rst fails the verify job.

Issue-ID: RELENG-3931
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Ib64bbd602e3ba7806e13d155ccede46e71d29641

jjb/autorelease/generate-release-notes.sh

index 3e5992ab99f90118ab44d6c328c121b970b17c56..08c1409caddaa384b6008e39a4c71cede9de61c3 100644 (file)
@@ -37,6 +37,7 @@ DOCS_DIR=$(mktemp -d)
 git clone -b "$GERRIT_BRANCH" https://git.opendaylight.org/gerrit/docs.git "$DOCS_DIR"
 cd "$DOCS_DIR" || exit 1
 cp "$WORKSPACE/release-notes.rst" "docs/release-notes/release-notes-${RELEASE,,}.rst"
+sed -i -e '$a  .. release-notes-${RELEASE,,}' "docs/release-notes/index.rst"
 git add docs/release-notes/
 
 GERRIT_COMMIT_MESSAGE="Update release notes for $RELEASE"