Update release instructions. Now build on JDK 8, because docker-maven-plugin requires Files.readAllLines.
Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica/repo Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica/commit/63c0ac91 Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica/tree/63c0ac91 Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica/diff/63c0ac91 Branch: refs/heads/branch-avatica-1.10 Commit: 63c0ac91ddcc486169e8f6cb01258990fff56883 Parents: 4dfa658 Author: Julian Hyde <[email protected]> Authored: Tue May 23 12:03:16 2017 -0700 Committer: Julian Hyde <[email protected]> Committed: Tue May 23 12:03:16 2017 -0700 ---------------------------------------------------------------------- site/_docs/howto.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/63c0ac91/site/_docs/howto.md ---------------------------------------------------------------------- diff --git a/site/_docs/howto.md b/site/_docs/howto.md index 9120c05..b50fbe9 100644 --- a/site/_docs/howto.md +++ b/site/_docs/howto.md @@ -174,7 +174,7 @@ to guarantee that your credentials will be cached for the duration of the build. Before you start: * Set up signing keys as described above. -* Make sure you are using JDK 1.7 (not 1.8). +* Make sure you are using JDK 8 (not 7 or 9). {% highlight bash %} # Make sure that there are no junk files in the sandbox @@ -190,7 +190,7 @@ When the dry-run has succeeded, change `install` to `deploy`. Before you start: * Set up signing keys as described above. -* Make sure you are using JDK 1.7 (not 1.8). +* Make sure you are using JDK 8 (not 7 or 9). * Check that `README` and `site/_docs/howto.md` have the correct version number. * Set `version.major` and `version.minor` in `pom.xml`. * Trigger a @@ -231,7 +231,8 @@ start again from the top. git clean -xn # Do a dry run of the release:prepare step, which sets version numbers. -mvn -DdryRun=true -DreleaseVersion=X.Y.Z -DdevelopmentVersion=X.Y.Z+1-SNAPSHOT -Dtag=calcite-avatica-X.Y.Z-rcN -Papache-release -Duser.name=${asf.username} release:prepare +# Typically we increment minor version: If X.Y.Z is 1.10.0, X2.Y2.Z2 is 1.11.0. +mvn -DdryRun=true -DreleaseVersion=X.Y.Z -DdevelopmentVersion=X2.Y2.Z2-SNAPSHOT -Dtag=calcite-avatica-X.Y.Z-rcN -Papache-release -Duser.name=${asf.username} release:prepare {% endhighlight %} Check the artifacts: @@ -270,7 +271,8 @@ If successful, remove the `-DdryRun` flag and run the release for real. {% highlight bash %} # Prepare sets the version numbers, creates a tag, and pushes it to git. -mvn -DreleaseVersion=X.Y.Z -DdevelopmentVersion=X.Y.Z+1-SNAPSHOT -Dtag=avatica-X.Y.Z-rc0 -Papache-release -Duser.name=${asf.username} release:prepare +# Typically we increment minor version: If X.Y.Z is 1.10.0, X2.Y2.Z2 is 1.11.0. +mvn -DreleaseVersion=X.Y.Z -DdevelopmentVersion=X2.Y2.Z2-SNAPSHOT -Dtag=avatica-X.Y.Z-rc0 -Papache-release -Duser.name=${asf.username} release:prepare # Perform checks out the tagged version, builds, and deploys to the staging repository mvn -Papache-release -Duser.name=${asf.username} release:perform -Darguments="-DskipTests"
