[jboss-svn-commits] JBL Code SVN: r20664 - labs/jbossrules/trunk.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Jun 20 11:48:17 EDT 2008


Author: tirelli
Date: 2008-06-20 11:48:17 -0400 (Fri, 20 Jun 2008)
New Revision: 20664

Modified:
   labs/jbossrules/trunk/release.sh
Log:
release script

Modified: labs/jbossrules/trunk/release.sh
===================================================================
--- labs/jbossrules/trunk/release.sh	2008-06-20 15:44:53 UTC (rev 20663)
+++ labs/jbossrules/trunk/release.sh	2008-06-20 15:48:17 UTC (rev 20664)
@@ -27,36 +27,36 @@
 echo "*************************************************************"
 echo "------> Updating release version in configuration files"
 echo $ANT -f update-version.xml -Dcurrent="$CURRENT_VERSION" -Dnew="$RELEASE_VERSION" updateVersion
-echo
 if [ $? -ne 0 ] 
 then
     show_error "****** Error updating version numbers. Exiting. ******"
 fi
+echo
 
 echo "*************************************************************"
 echo "------> Commiting new version into trunk"
 echo $SVN commit -m "$JIRA_TICKET : preparing release. Updating files from version $CURRENT_VERSION to $RELEASE_VERSION"
-echo
 if [ $? -ne 0 ] 
 then
     show_error "****** Error commiting update files to trunk. Exiting. ******"
 fi
+echo
 
 echo "*************************************************************"
 echo "------> Preparing the release"
 echo $MVN --batch-mode release:clean release:prepare 
-echo
 if [ $? -ne 0 ] 
 then
     show_error "****** Error preparing the release. Exiting. ******"
 fi
+echo
 
 echo "*************************************************************"
 echo "------> Generating artifacts"
 echo $MVN -Ddocumentation -Declipse -Dmaven.test.skip -Dydoc.home=$YDOC_HOME package javadoc:javadoc assembly:assembly
-echo
 if [ $? -ne 0 ] 
 then
     show_error "****** Error generating distribution artifacts. Exiting. ******"
 fi
+echo
 




More information about the jboss-svn-commits mailing list