You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by sm...@apache.org on 2015/11/06 02:18:54 UTC

svn commit: r1712889 - /mahout/site/mahout_cms/trunk/content/developers/how-to-release.mdtext

Author: smarthi
Date: Fri Nov  6 01:18:54 2015
New Revision: 1712889

URL: http://svn.apache.org/viewvc?rev=1712889&view=rev
Log:
MAHOUT-1443: Update 'How To Release' Page

Modified:
    mahout/site/mahout_cms/trunk/content/developers/how-to-release.mdtext

Modified: mahout/site/mahout_cms/trunk/content/developers/how-to-release.mdtext
URL: http://svn.apache.org/viewvc/mahout/site/mahout_cms/trunk/content/developers/how-to-release.mdtext?rev=1712889&r1=1712888&r2=1712889&view=diff
==============================================================================
--- mahout/site/mahout_cms/trunk/content/developers/how-to-release.mdtext (original)
+++ mahout/site/mahout_cms/trunk/content/developers/how-to-release.mdtext Fri Nov  6 01:18:54 2015
@@ -59,10 +59,11 @@ directory at https://svn.apache.org/repo
 that it is reflected in the copy of the website included with the release
 for documentation purposes.
 * If this is your first release, add your key to the KEYS file. The KEYS
-file is located in Subversion at
-https://svn.apache.org/repos/asf/mahout/trunk/distribution/KEYS and copy it
-to the release directory. Make sure you commit your change.  See
-http://www.apache.org/dev/release-signing.html.
+file is located on Github at
+https://github.com/apache/mahout/master/distribution/KEYS and copy it
+to the release directory. 
+Make sure you commit your change.
+See http://www.apache.org/dev/release-signing.html.
 * Ensure you have set up standard Apache committer settings in
  ~/.m2/settings.xml as per [this page](http://maven.apache.org/developers/committer-settings.html)
 .
@@ -107,12 +108,26 @@ then immediately access, but, there is a
 minute to the non-US servers. To temporarily force using the US-based
 server, edit your equivalent of /etc/hosts and map the IP address of
 svn.us.apache.org to svn.apache.org.
-* Create the release candidate: {{mvn -Pmahout_release release:prepare release:perform}}. If you have problems authenticating to svn.apache.org, try adding to the command line {{-Dusername=\[user\]
- -Dpassword=\[password\]}}. If it screws up, do not clean or release:clean
-without first trying to do: release:rollback.  This will likely save you
-time and do the right thing.  If it doesn't work, then do clean and
-release:clean and also delete the tag from svn, if it was created. You may
-also have to rollback the version numbers in the POM files.
+* Create the release candidate:
+
+     mvn -Pmahout-release,apache-release,hadoop2 release:prepare release:perform}}. 
+
+  If you have problems authenticating to svn.apache.org, try adding to the command line 
+
+      -Dusername=\[user]\ -Dpassword=\[password\]
+
+ If it screws up, first try doing:
+
+  mvn -Dmahout-release,apache-release,hadoop2 release:rollback. 
+
+ followed by
+
+  mvn -Dmahout-release,apache-release,hadoop2 release:clean
+
+ This will likely save you time and do the right thing. 
+
+ You may also have to rollback the version numbers in the POM files.
+
     ( If you want to skip test cases while rebuilding, use mvn
 -DpreparationGoals="clean compile" release:prepare release:perform)
 * Review the artifacts, etc. on the Apache Repository (using Sonatype's
@@ -137,10 +152,16 @@ passing.  See Apache [release policy|htt
 * If there's a problem, you need to unwind the release and start all
 over.
         <blockquote>
-        mvn -Pmahout_release versions:set -DnewVersion=PREVIOUS_SNAPSHOT
-        mvn -Pmahout_release versions:commit
-        svn commit 
-        svn rm https://svn.apache.org/repos/asf/mahout/tags/mahout-VERSION
+        mvn -Pmahout-release,apache-release,hadoop2 versions:set -DnewVersion=PREVIOUS_SNAPSHOT
+
+        mvn -Pmahout-release,apache-release,hadoop2 versions:commit
+
+        git commit 
+
+        git push --delete apache <tagname> (deletes the remote tag)
+        git tag -d tagname (deletes the local tag)
+
+    
         </blockquote>
 * Release the artifact in the Nexus Repository in the same way you
 Closed it earlier.