calcite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject calcite-avatica git commit: [CALCITE-1743] Add instructions to release docs to move git tag from rcN to rel/
Date Thu, 06 Apr 2017 21:27:51 GMT
Repository: calcite-avatica
Updated Branches:
  refs/heads/master d93f4fa82 -> 6e62e0b4f


[CALCITE-1743] Add instructions to release docs to move git tag from rcN to rel/


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

Branch: refs/heads/master
Commit: 6e62e0b4f710122c2bebba86ba43e2d3f7b65435
Parents: d93f4fa
Author: Josh Elser <elserj@apache.org>
Authored: Thu Apr 6 17:26:06 2017 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Thu Apr 6 17:27:20 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/6e62e0b4/site/_docs/howto.md
----------------------------------------------------------------------
diff --git a/site/_docs/howto.md b/site/_docs/howto.md
index be310c8..b144b98 100644
--- a/site/_docs/howto.md
+++ b/site/_docs/howto.md
@@ -265,7 +265,7 @@ 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 -Duser.name=${asf.username} release:prepare
+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
 
 # Perform checks out the tagged version, builds, and deploys to the staging repository
 mvn -Papache-release -Duser.name=${asf.username} release:perform -Darguments="-DskipTests"
@@ -311,8 +311,8 @@ svn ci
 git tag
 
 # If the tag exists, delete it locally and remotely
-git tag -d apache-calcite-avatica-X.Y.Z
-git push origin :refs/tags/apache-calcite-avatica-X.Y.Z
+git tag -d avatica-X.Y.Z
+git push origin :refs/tags/avatica-X.Y.Z
 
 # Remove modified files
 mvn release:clean
@@ -480,6 +480,13 @@ Promote the staged nexus artifacts.
 * In the line with "orgapachecalcite-xxxx", check the box
 * Press "Release" button
 
+Copy the Git tag:
+
+{% highlight bash %}
+git tag rel/avatica-X.Y.X avatica-X.Y.Z-rcN
+git push origin rel/avatica-X.Y.Z
+{% endhighlight %}
+
 Check the artifacts into svn.
 
 {% highlight bash %}


Mime
View raw message