Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Iabc2e9b59282b4d096c9d43bcfc4bb589097f851
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"