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"