Fix: release-notes RST index generation 31/99631/1
authorguillaume.lambert <guillaume.lambert@orange.com>
Mon, 7 Feb 2022 10:31:47 +0000 (11:31 +0100)
committerguillaume.lambert <guillaume.lambert@orange.com>
Mon, 7 Feb 2022 10:31:49 +0000 (11:31 +0100)
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Iabc2e9b59282b4d096c9d43bcfc4bb589097f851

jjb/autorelease/generate-release-notes.sh

index b63642881d64958f9f90102d69c82182d7e460e2..6f42692cf9fd96a496102d44078b953c512c2fbe 100644 (file)
@@ -37,7 +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"
+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"