From c742036b874215a8be392a79d41ab08a1ceb9d9d Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Thu, 18 Apr 2019 22:09:35 -0700 Subject: [PATCH 1/2] [docs] improve the RELEASING.md docs --- RELEASING.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 14f51be2edcc1..7e250a8efa64b 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -51,6 +51,8 @@ git push origin master You'll probably want to run these commands manually and understand what they do prior to doing so. +## Release setup + First you need to setup a few things. This is a one-off and doesn't need to be done at every release. @@ -75,6 +77,8 @@ need to be done at every release. svn commit -m "Add PGP keys of new Superset committer" ``` +## Crafting tarball and signatures + Now let's craft a source release ```bash # Assuming these commands are executed from the root of the repo @@ -98,19 +102,27 @@ Now let's craft a source release scripts/sign.sh apache-superset-${VERSION}-source.tar.gz ``` +## Shipping to SVN + Now let's ship this RC into svn's dev folder ```bash # cp or mv the files over to the svn repo mkdir ~/svn/superset_dev/${VERSION}/ - cp apache-superset-${VERSION}* ~/svn/superset/${VERSION}/ - cd ~/svn/superset/ + cp apache-superset-${VERSION}* ~/svn/superset_dev/${VERSION}/ + cd ~/svn/superset_dev/ svn add ${VERSION} svn commit ``` Now you're ready to start the VOTE thread. +## Validating a release + +https://www.apache.org/info/verification.html + +## Publishing a successful release + Upon a successful vote, you'll have to copy the folder into the non-"dev/" folder. ```bash From 2ac65e0af74ce747dd08f81e78eafdf4b2a27b30 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Thu, 18 Apr 2019 22:38:12 -0700 Subject: [PATCH 2/2] more tweaks --- RELEASING.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASING.md b/RELEASING.md index 7e250a8efa64b..4783ba6ddccc8 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -94,11 +94,14 @@ Now let's craft a source release # Alternatively you could clone the repo into another location as in # git clone git@github.com:apache/incubator-superset.git superset-releases git clean -fxd + # Create the target folder + mkdir -p ~/svn/superset_dev/${VERSION}/ git archive \ --format=tar.gz ${VERSION} \ --prefix=apache-superset-${VERSION}/ \ - -o apache-superset-${VERSION}-source.tar.gz + -o ~/svn/superset_dev/${VERSION}/apache-superset-${VERSION}-source.tar.gz + cd ~/svn/superset_dev/ scripts/sign.sh apache-superset-${VERSION}-source.tar.gz ```