Refine release instructions (#8272)

* Refine release instructions

* Add version to svn message
This commit is contained in:
Ville Brofeldt 2019-09-24 08:34:43 +03:00 committed by GitHub
parent 11935ce118
commit 6d418308c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -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
@ -79,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.
@ -96,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