From 0f0a2b82c1b0ba238ea7a4daf1f9774a56cd3104 Mon Sep 17 00:00:00 2001 From: Ville Brofeldt Date: Sat, 21 Sep 2019 01:15:50 +0300 Subject: [PATCH 1/2] Refine release instructions --- RELEASING/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/RELEASING/README.md b/RELEASING/README.md index 767e3be6df73..3e118f910ebf 100644 --- a/RELEASING/README.md +++ b/RELEASING/README.md @@ -53,8 +53,9 @@ need to be done at every release. Now let's craft a source release ```bash # Assuming these commands are executed from the root of the repo - # Setting a VERSION var will be useful - export VERSION=0.31.0rc18 + export REPO_DIR=$(pwd) + # Set VERSION to the release being prepared (rc1 for first vote on version) + export VERSION=0.34.1rc1 export RELEASE=apache-superset-incubating-${VERSION} export RELEASE_TARBALL=${RELEASE}-source.tar.gz @@ -69,7 +70,7 @@ Now let's craft a source release -o ~/svn/superset_dev/${VERSION}/${RELEASE_TARBALL} cd ~/svn/superset_dev/${VERSION}/ - scripts/sign.sh ${RELEASE}-source.tar.gz + ${REPO_DIR}/scripts/sign.sh ${RELEASE}-source.tar.gz ``` ## Shipping to SVN From d12e294535a824a15c030ebe0f99e822cf8e8b25 Mon Sep 17 00:00:00 2001 From: Ville Brofeldt Date: Sat, 21 Sep 2019 01:34:29 +0300 Subject: [PATCH 2/2] Add version to svn message --- RELEASING/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASING/README.md b/RELEASING/README.md index 3e118f910ebf..c89f7451df3c 100644 --- a/RELEASING/README.md +++ b/RELEASING/README.md @@ -80,7 +80,7 @@ Now let's ship this RC into svn's dev folder ```bash cd ~/svn/superset_dev/ svn add ${VERSION} - svn commit + svn commit -m "${VERSION}" ``` Now you're ready to start the VOTE thread. @@ -97,7 +97,7 @@ folder. cp -r ~/svn/superset_dev/${VERSION}/ ~/svn/superset/${VERSION}/ cd ~/svn/superset/ svn add ${VERSION} - svn commit + svn commit -m "${VERSION}" ``` Now you can announce the release on the mailing list, make sure to use the