You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by el...@apache.org on 2016/05/19 20:22:40 UTC

calcite git commit: [CALCITE-1248] Add instructions to set user.name and how to clean up failed builds [Forced Update!]

Repository: calcite
Updated Branches:
  refs/heads/branch-avatica-1.8 09ff56329 -> f3ba5c335 (forced update)


[CALCITE-1248] Add instructions to set user.name and how to clean up failed builds


Project: http://git-wip-us.apache.org/repos/asf/calcite/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/f3ba5c33
Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/f3ba5c33
Diff: http://git-wip-us.apache.org/repos/asf/calcite/diff/f3ba5c33

Branch: refs/heads/branch-avatica-1.8
Commit: f3ba5c3352af82db4436453da03176636819b36f
Parents: b8cb7c7
Author: Josh Elser <el...@apache.org>
Authored: Thu May 19 16:19:18 2016 -0400
Committer: Josh Elser <el...@apache.org>
Committed: Thu May 19 16:20:47 2016 -0400

----------------------------------------------------------------------
 avatica/site/_docs/howto.md | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/f3ba5c33/avatica/site/_docs/howto.md
----------------------------------------------------------------------
diff --git a/avatica/site/_docs/howto.md b/avatica/site/_docs/howto.md
index 223aae0..2a8c9fb 100644
--- a/avatica/site/_docs/howto.md
+++ b/avatica/site/_docs/howto.md
@@ -243,7 +243,7 @@ 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 release:prepare
+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
 {% endhighlight %}
 
 Check the artifacts:
@@ -272,11 +272,18 @@ Check the artifacts:
   present and does not contain un-substituted `${...}` variables
 * Check PGP, per [this](https://httpd.apache.org/dev/verification.html)
 
-Now, remove the `-DdryRun` flag and run the release for real.
+If something is not correct, you can invoke the `release:clean` mojo to remove the
+generated files from your workspace:
+
+{% highlight bash %}
+mvn release:clean
+{% endhighlight %}
+
+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=calcite-avatica-X.Y.Z-rc0 -Papache-release release:prepare
+mvn -DreleaseVersion=X.Y.Z -DdevelopmentVersion=X.Y.Z+1-SNAPSHOT -Dtag=calcite-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 release:perform