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 2017/04/06 21:28:48 UTC

svn commit: r1790468 - /calcite/site/avatica/docs/howto.html

Author: elserj
Date: Thu Apr  6 21:28:47 2017
New Revision: 1790468

URL: http://svn.apache.org/viewvc?rev=1790468&view=rev
Log:
[CALCITE-1743] Publish avatica release instructions update

Modified:
    calcite/site/avatica/docs/howto.html

Modified: calcite/site/avatica/docs/howto.html
URL: http://svn.apache.org/viewvc/calcite/site/avatica/docs/howto.html?rev=1790468&r1=1790467&r2=1790468&view=diff
==============================================================================
--- calcite/site/avatica/docs/howto.html (original)
+++ calcite/site/avatica/docs/howto.html Thu Apr  6 21:28:47 2017
@@ -759,7 +759,7 @@ generated files from your workspace:</p>
 <p>If successful, remove the <code class="highlighter-rouge">-DdryRun</code> flag and run the release for real.</p>
 
 <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Prepare sets the version numbers, creates a tag, and pushes it to git.</span>
-mvn -DreleaseVersion<span class="o">=</span>X.Y.Z -DdevelopmentVersion<span class="o">=</span>X.Y.Z+1-SNAPSHOT -Dtag<span class="o">=</span>calcite-avatica-X.Y.Z-rc0 -Papache-release -Duser.name<span class="o">=</span><span class="k">${</span><span class="nv">asf</span><span class="p">.username</span><span class="k">}</span> release:prepare
+mvn -DreleaseVersion<span class="o">=</span>X.Y.Z -DdevelopmentVersion<span class="o">=</span>X.Y.Z+1-SNAPSHOT -Dtag<span class="o">=</span>avatica-X.Y.Z-rc0 -Papache-release -Duser.name<span class="o">=</span><span class="k">${</span><span class="nv">asf</span><span class="p">.username</span><span class="k">}</span> release:prepare
 
 <span class="c"># Perform checks out the tagged version, builds, and deploys to the staging repository</span>
 mvn -Papache-release -Duser.name<span class="o">=</span><span class="k">${</span><span class="nv">asf</span><span class="p">.username</span><span class="k">}</span> release:perform -Darguments<span class="o">=</span><span class="s2">"-DskipTests"</span></code></pre></figure>
@@ -803,8 +803,8 @@ svn ci</code></pre></figure>
 git tag
 
 <span class="c"># If the tag exists, delete it locally and remotely</span>
-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
 
 <span class="c"># Remove modified files</span>
 mvn release:clean
@@ -966,6 +966,11 @@ Uncheck “Send mail for this update\ufffd
   <li>Press “Release” button</li>
 </ul>
 
+<p>Copy the Git tag:</p>
+
+<figure class="highlight"><pre><code class="language-bash" data-lang="bash">git tag rel/avatica-X.Y.X avatica-X.Y.Z-rcN
+git push origin rel/avatica-X.Y.Z</code></pre></figure>
+
 <p>Check the artifacts into svn.</p>
 
 <figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Get the release candidate.</span>