commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r992863 - /commons/proper/pool/trunk/pool-RC.sh
Date Sun, 05 Sep 2010 19:09:40 GMT
Author: psteitz
Date: Sun Sep  5 19:09:40 2010
New Revision: 992863

URL: http://svn.apache.org/viewvc?rev=992863&view=rev
Log:
Eliminated unnecessary assembly goal; added site; added rc number; combined tarball.

Modified:
    commons/proper/pool/trunk/pool-RC.sh

Modified: commons/proper/pool/trunk/pool-RC.sh
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/pool-RC.sh?rev=992863&r1=992862&r2=992863&view=diff
==============================================================================
--- commons/proper/pool/trunk/pool-RC.sh (original)
+++ commons/proper/pool/trunk/pool-RC.sh Sun Sep  5 19:09:40 2010
@@ -23,8 +23,9 @@
 # -----------------------------------------------------------------------------
 # Set script variables
 version=1.5.5
+rc=2
 repo_path=~/.m2/repository/commons-pool/commons-pool/${version}
-release_path=~/pool-release
+release_path=~/pool-${version}-rc${rc}
 #
 # Delete any locally installed artifacts from previous runs
 rm -rf ${repo_path}
@@ -34,7 +35,7 @@ echo "Cleaned local release directory"
 mvn clean
 #
 # Generate the release artifacts and install them locally
-mvn assembly:assembly
+mvn site
 mvn -Prc -DcreateChecksum=true install
 #
 # Copy the zips/tarballs and release notes to the release directory
@@ -61,5 +62,11 @@ rm ${release_path}/maven/*.zip
 rm ${release_path}/maven/*.zip*
 rm ${release_path}/maven/*.gz
 rm ${release_path}/maven/*.gz*
+#
+# Create combined tarball
+cd ${release_path}
+cd ..
+tar -czf ${release_path}.tgz pool-${version}-rc${rc}
+
 echo "Release candidate complete"
 



Mime
View raw message