You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2014/03/06 13:56:51 UTC

svn commit: r1574862 - /isis/site/trunk/content/contributors/release-process-one-pager.md

Author: danhaywood
Date: Thu Mar  6 12:56:50 2014
New Revision: 1574862

URL: http://svn.apache.org/r1574862
Log:
updating release process

Modified:
    isis/site/trunk/content/contributors/release-process-one-pager.md

Modified: isis/site/trunk/content/contributors/release-process-one-pager.md
URL: http://svn.apache.org/viewvc/isis/site/trunk/content/contributors/release-process-one-pager.md?rev=1574862&r1=1574861&r2=1574862&view=diff
==============================================================================
--- isis/site/trunk/content/contributors/release-process-one-pager.md (original)
+++ isis/site/trunk/content/contributors/release-process-one-pager.md Thu Mar  6 12:56:50 2014
@@ -85,17 +85,27 @@ Commit any changes from the preceding st
 
 #### Prepare:
 
+first the dry run:
+
     mvn release:prepare -P apache-release \
                         -D dryRun=true \
                         --batch-mode -Dgpg.passphrase=$PASSPHRASE \
                         -DreleaseVersion=$REL \
                         -DdevelopmentVersion=$DEV \
                         -Dtag=$ARTIFACT-$REL
+    if [ $? -ne 0 ]; then
+        echo "mvn release:prepare -dryRun failed :-("  >&2
+    fi
+
+then "for real": 
 
     mvn release:prepare -P apache-release -D skipTests=true -Dresume=false \
                         -DreleaseVersion=$REL \
                         -DdevelopmentVersion=$DEV \
                         -Dtag=$ARTIFACT-$REL
+    if [ $? -ne 0 ]; then
+        echo "mvn release:prepare -dryRun failed :-("  >&2
+    fi
 
 #### Confirm: