Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AA4C7200D14 for ; Tue, 19 Sep 2017 00:22:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A8EDE1609DE; Mon, 18 Sep 2017 22:22:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EDB501609DB for ; Tue, 19 Sep 2017 00:22:18 +0200 (CEST) Received: (qmail 67633 invoked by uid 500); 18 Sep 2017 22:22:18 -0000 Mailing-List: contact commits-help@kudu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kudu.apache.org Delivered-To: mailing list commits@kudu.apache.org Received: (qmail 67624 invoked by uid 99); 18 Sep 2017 22:22:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Sep 2017 22:22:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 81B7EDFDCE; Mon, 18 Sep 2017 22:22:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: jdcryans@apache.org To: commits@kudu.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: kudu git commit: [docs] fixup releasing git instructions Date: Mon, 18 Sep 2017 22:22:15 +0000 (UTC) archived-at: Mon, 18 Sep 2017 22:22:19 -0000 Repository: kudu Updated Branches: refs/heads/master 57de48d20 -> a9a1b80ae [docs] fixup releasing git instructions Change-Id: I83f98350ddcaf062477db1ee0b90f1811f87524b Reviewed-on: http://gerrit.cloudera.org:8080/7876 Tested-by: Kudu Jenkins Reviewed-by: Jean-Daniel Cryans Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/a9a1b80a Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/a9a1b80a Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/a9a1b80a Branch: refs/heads/master Commit: a9a1b80ae67b7e75b76a4b8862c77357d450d43b Parents: 57de48d Author: Dan Burkert Authored: Tue Aug 29 11:45:42 2017 -0700 Committer: Jean-Daniel Cryans Committed: Mon Sep 18 22:19:24 2017 +0000 ---------------------------------------------------------------------- RELEASING.adoc | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/a9a1b80a/RELEASING.adoc ---------------------------------------------------------------------- diff --git a/RELEASING.adoc b/RELEASING.adoc index 161e4ac..ebc0039 100644 --- a/RELEASING.adoc +++ b/RELEASING.adoc @@ -54,8 +54,8 @@ http://git-wip-us.apache.org/repos/asf?p=kudu.git. The following example assumes they are called `cloudera` and `apache`. + ---- - git push branch-0.9.x cloudera - git push branch-0.9.x apache + git push cloudera branch-0.9.x + git push apache branch-0.9.x ---- . Create a new branch on Gerrit. Go to @@ -77,6 +77,8 @@ branch with the same name and the previously-noted SHA1. mvn versions:set -DnewVersion=0.X.0-SNAPSHOT ---- +. Update the version in `java/gradle.properties`. + . If the python API has changed since the previous release, bump the Python version in `python/setup.py` in master. (the Python API uses separate versioning). @@ -96,7 +98,8 @@ branch with the same name and the previously-noted SHA1. . Fix any issues it finds, such as RAT. -. Remove the -SNAPSHOT from the version string in `version.txt`. +. Create a new version update commit which removes the -SNAPSHOT suffix (same + process as above). . When ready, create a new lightweight tag and push it to the Apache Git repository. + @@ -109,13 +112,31 @@ branch with the same name and the previously-noted SHA1. . Create a new folder in https://dist.apache.org/repos/dist/dev/kudu/. Copy the artifacts to this folder and commit (it is Subversion). ++ ---- svn co --depth=immediates https://dist.apache.org/repos/dist/dev/kudu/ svn commit -m "Adding Kudu 1.x.0 RC1" ---- -Initiating a Vote for an RC ----------------------------- +. Create a Maven staging repository for the RC. ++ +---- + # Run a gpg-agent if you don't normally + gpg-agent --daemon + cd java + mvn -DskipTests clean -Papache-release clean deploy +---- ++ +Go to the link:https://repository.apache.org/#stagingRepositories[staging repository] +and look for ‘orgapachekudu-####’ in the staging repositories list. You can +check the ‘content’ tab at the bottom to make sure you have all of the expected +stuff (client, various integrations, both versions of Spark) Hit the checkbox +next to your new staging repo and hit “close”. Enter “Apache Kudu 1.1.0-RC1” or +whatever into that box. Wait a minute or two and hit refresh, and your staging +repo should now have a URL shown in its summary tab (eg +`https://repository.apache.org/content/repositories/orgapachekudu-1005`) + +== Initiating a Vote for an RC . Send an email to dev@kudu.apache.org to start the RC process, using this @@ -153,6 +174,10 @@ Apache Git repository: git push apache 0.9.2-RC1 ---- +. Release the staged Java artifacts. Select the release candidate staging + repository in link:https://repository.apache.org/#stagingRepositories[Nexus], + and click 'Release'. + . Generate the version-specific documentation from that branch following these link:https://github.com/apache/kudu/#updating-the-documentation-on-the-kudu-web-site[instructions].