Make the release docs more generic 94/64594/1
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 23 Oct 2017 02:38:37 +0000 (12:38 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 23 Oct 2017 02:38:37 +0000 (12:38 +1000)
Change-Id: Id68222ce121531f587317abc1fe750c5bce32f7c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
docs/release-process/simultaneous-release.rst

index a4f91cd042391ec1b996ff019d11836015efad33..62dd1b7050bd207b2c9a992d13970229e5fc8bf2 100644 (file)
@@ -53,7 +53,9 @@ Releasing OpenDaylight
 
   .. code-block:: bash
 
-     export BRANCH=origin/stable/oxygen
+     export RELEASE=Nitrogen-SR1
+     export STREAM=${RELEASE//-*}
+     export BRANCH=origin/stable/${STREAM,,}
 
      git clone --recursive https://git.opendaylight.org/gerrit/releng/autorelease
      cd autorelease
@@ -86,8 +88,6 @@ Releasing OpenDaylight
 
   .. code-block:: bash
 
-      export RELEASE=Beryllium-SR4
-      export STREAM=${RELEASE//-*}
       export BUILD_NUM=55
       export PATCH_URL="https://logs.opendaylight.org/releng/jenkins092/autorelease-release-${STREAM,,}/${BUILD_NUM}/patches.tar.gz"
       ./scripts/release-tags.sh "${RELEASE}" /tmp/patches "$PATCH_URL"
@@ -126,6 +126,6 @@ Releasing OpenDaylight
   .. code-block:: bash
 
       git checkout stable/${BRANCH,,}
-      ./scripts/release-notes-generator.sh Carbon-SR2
+      ./scripts/release-notes-generator.sh ${RELEASE}
 
   A `release-notes.rst` will be generated in the working directory.