Skip to content

Commit

Permalink
Refine release instructions (apache#8272)
Browse files Browse the repository at this point in the history
* Refine release instructions

* Add version to svn message
  • Loading branch information
villebro authored Sep 24, 2019
1 parent 11935ce commit 6d41830
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions RELEASING/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 6d41830

Please sign in to comment.