You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by td...@apache.org on 2019/05/28 22:19:29 UTC
svn commit: r1860305 - in /phoenix/site: publish/release.html
source/src/site/markdown/release.md
Author: tdsilva
Date: Tue May 28 22:19:29 2019
New Revision: 1860305
URL: http://svn.apache.org/viewvc?rev=1860305&view=rev
Log:
Update how to release to include instructions on ~/.m2/settings.xml
Modified:
phoenix/site/publish/release.html
phoenix/site/source/src/site/markdown/release.md
Modified: phoenix/site/publish/release.html
URL: http://svn.apache.org/viewvc/phoenix/site/publish/release.html?rev=1860305&r1=1860304&r2=1860305&view=diff
==============================================================================
--- phoenix/site/publish/release.html (original)
+++ phoenix/site/publish/release.html Tue May 28 22:19:29 2019
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<!--
- Generated by Apache Maven Doxia at 2018-06-10
+ Generated by Apache Maven Doxia at 2019-05-28
Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin)
-->
<html xml:lang="en" lang="en">
@@ -212,6 +212,15 @@ git tag -a v4.11.0-HBase-0.98 v4.11.0-HB
</pre>
</div></li>
<li>Remove any obsolete releases on <a class="externalLink" href="https://dist.apache.org/repos/dist/release/phoenix">https://dist.apache.org/repos/dist/release/phoenix</a> given the current release.</li>
+ <li> <p>Ensure you ~/.m2/settings.xml is setup correctly: </p>
+ <div class="source">
+ <pre> <server>
+ <id>apache.releases.https</id>
+ <username> <!-- YOUR APACHE USERNAME --> </username>
+ <password> <!-- YOUR APACHE PASSWORD --> </password>
+ </server>
+</pre>
+ </div></li>
<li> <p>Release to maven (remove release directory from local repro if present): </p>
<div>
<pre>
@@ -480,7 +489,7 @@ mvn versions:set -DnewVersion=4.12.0-HBa
<div class="row">
<div class="span12">
<p class="pull-right"><a href="#">Back to top</a></p>
- <p class="copyright">Copyright ©2018 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.</p>
+ <p class="copyright">Copyright ©2019 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.</p>
</div>
</div>
</div>
Modified: phoenix/site/source/src/site/markdown/release.md
URL: http://svn.apache.org/viewvc/phoenix/site/source/src/site/markdown/release.md?rev=1860305&r1=1860304&r2=1860305&view=diff
==============================================================================
--- phoenix/site/source/src/site/markdown/release.md (original)
+++ phoenix/site/source/src/site/markdown/release.md Tue May 28 22:19:29 2019
@@ -35,15 +35,25 @@ Follow the instructions. Signed binary a
</pre>
3. Remove any obsolete releases on https://dist.apache.org/repos/dist/release/phoenix given the current release.
-4. Release to maven (remove release directory from local repro if present):
+4. Ensure you ~/.m2/settings.xml is setup correctly:
+
+ ```
+ <server>
+ <id>apache.releases.https</id>
+ <username> <!-- YOUR APACHE USERNAME --> </username>
+ <password> <!-- YOUR APACHE PASSWORD --> </password>
+ </server>
+ ```
+
+5. Release to maven (remove release directory from local repro if present):
<pre>
mvn clean deploy gpg:sign -DperformRelease=true -Dgpg.passphrase=[your_pass_phrase_here]
-Dgpg.keyname=[your_key_here] -DskipTests -P release -pl phoenix-core,phoenix-pig,phoenix-tracing-webapp,
phoenix-queryserver,phoenix-spark,phoenix-flume,phoenix-pherf,phoenix-queryserver-client,phoenix-hive,phoenix-client,phoenix-server -am
</pre>
-5. Go to https://repository.apache.org/#stagingRepositories and <code>close</code> -> <code>release</code> the staged artifacts.
-6. Set version back to upcoming SNAPSHOT and commit:
+6. Go to https://repository.apache.org/#stagingRepositories and <code>close</code> -> <code>release</code> the staged artifacts.
+7. Set version back to upcoming SNAPSHOT and commit:
<pre>
mvn versions:set -DnewVersion=4.12.0-HBase-0.98-SNAPSHOT -DgenerateBackupPoms=false