Hi,

I wrote a shell script to automate the steps to create a SCA java release.

* Run "svn copy" to check out the release branch into a RC tag
* Replace the version id by removing SNAPSHOT (I'm using "sed" at this moment and it can be replaced by maven release plugin)
* Generate a "RAT" report
* Build the tagged source tree
* Deploy/sign the modules to a stage maven repo
* Sign the distros
* Copy the distros to people.apache.org (To be implemented using "scp" command)

Hope it helps for future RMs.

Thanks,
Raymond

----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 08, 2007 11:05 AM
Subject: svn commit: r593259 - /incubator/tuscany/java/etc/release-sca.sh


Author: rfeng
Date: Thu Nov  8 11:05:18 2007
New Revision: 593259

URL: http://svn.apache.org/viewvc?rev=593259&view=rev
Log:
Update the script

Modified:
   incubator/tuscany/java/etc/release-sca.sh

Modified: incubator/tuscany/java/etc/release-sca.sh
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/etc/release-sca.sh?rev=593259&r1=593258&r2=593259&view=diff
==============================================================================
--- incubator/tuscany/java/etc/release-sca.sh (original)
+++ incubator/tuscany/java/etc/release-sca.sh Thu Nov  8 11:05:18 2007
@@ -21,7 +21,7 @@

# Staging maven repo
REPO_ID=apache.incubator
-REPO_URL=scp://people.apache.org/home/$USER/public_html/tuscany/maven
+REPO_URL=scp://people.apache.org/home/$USER/public_html/tuscany/$TAG/maven

# RAT jar
RAT_JAR=c:\\Apache\\rat\\rat-0.5.1.jar
@@ -53,19 +53,19 @@

echo "Building samples ..."
cd $DIR/$TAG/samples
-mvn clean install -fn
+mvn clean install

echo "Building itests ..."
cd $DIR/$TAG/itest
-mvn clean install -fn
+mvn clean install

echo "Building distrubtion ..."
cd $DIR/$TAG/distribution
-mvn clean install -fn
+mvn clean install

echo "Signing distrubtion ..."
for i in target/*.zip target/*.gz; do gpg --output $i.asc --detach-sig --armor $i; done -for i in *.zip *.gz; do openssl md5 -hex $i | sed 's/MD5(\([^)]*\))= \([0-9a-f]*\)/\2 *\1/' > $i.md5; done +for i in target/*.zip target/*.gz; do openssl md5 -hex $i | sed 's/MD5(\([^)]*\))= \([0-9a-f]*\)/\2 *\1/' > $i.md5; done

echo "Deploying tuscany-sca-all ..."
cd $DIR/$TAG/distribution/bundle/target



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to