Author: coheigea
Date: Fri Jan 16 04:28:09 2009
New Revision: 734986

URL: http://svn.apache.org/viewvc?rev=734986&view=rev
Log:
Some updates to the release script
 - We now ship the jartifact built by maven rather than ant

Modified:
    webservices/wss4j/tags/1_5_5-RC2/build.xml
    webservices/wss4j/tags/1_5_5-RC2/contrib/wss4j-release.sh
    webservices/wss4j/trunk/contrib/wss4j-release.sh

Modified: webservices/wss4j/tags/1_5_5-RC2/build.xml
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/tags/1_5_5-RC2/build.xml?rev=734986&r1=734985&r2=734986&view=diff
==============================================================================
--- webservices/wss4j/tags/1_5_5-RC2/build.xml (original)
+++ webservices/wss4j/tags/1_5_5-RC2/build.xml Fri Jan 16 04:28:09 2009
@@ -28,7 +28,7 @@
         <property name='product.version.major' value='1'/>
         <property name='product.version.minor' value='5'/>
         <property name='product.version.level' value='5'/>
-        <property name='product.version.qualifier' value='-SNAPSHOT'/>
+        <property name='product.version.qualifier' value='-RC2'/>
         <property name='product.version' 
value='${product.version.major}.${product.version.minor}.${product.version.level}${product.version.qualifier}'/>
         <property name="year" value="2008"/>
         <property name="copyright" value="Copyright &#169; ${year} Apache 
WSS4J Project. All Rights Reserved."/>

Modified: webservices/wss4j/tags/1_5_5-RC2/contrib/wss4j-release.sh
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/tags/1_5_5-RC2/contrib/wss4j-release.sh?rev=734986&r1=734985&r2=734986&view=diff
==============================================================================
--- webservices/wss4j/tags/1_5_5-RC2/contrib/wss4j-release.sh (original)
+++ webservices/wss4j/tags/1_5_5-RC2/contrib/wss4j-release.sh Fri Jan 16 
04:28:09 2009
@@ -17,7 +17,7 @@
 if [ -z "${WSS4J_SRC_ROOT}" ]
 then
     echo "Assuming WSS4J source tree is the CWD..."
-    WSS4J_SRC_ROOT=.
+    WSS4J_SRC_ROOT=`pwd`
 fi
 if [ -z "${WSS4J_VERSION}" ]
 then
@@ -49,16 +49,12 @@
 cp -r dist/* ${WSS4J_STAGE_ROOT}/dist
 #
 # Build and stage through maven; copy the Jartifact built by Maven to the dist
-# Since we build and test with ant, we use the ant-built JAR as the version of
-# the artifact we'll use in maven.
-#
-# All this will get fixed when we move to maven throughout.
 #
 mvn clean || exit 1
 mvn -Prelease,jdk14 install || exit 1
 mkdir -p ${WSS4J_STAGE_ROOT}/maven/org/apache/ws/security/wss4j/
 cp -r ${M2_REPO}/org/apache/ws/security/wss4j/${WSS4J_VERSION} 
${WSS4J_STAGE_ROOT}/maven/org/apache/ws/security/wss4j
-cp -f ${WSS4J_STAGE_ROOT}/build/wss4j-${WSS4J_VERSION}.jar 
${M2_REPO}/org/apache/ws/security/wss4j/${WSS4J_VERSION}
+cp -f 
${M2_REPO}/org/apache/ws/security/wss4j/${WSS4J_VERSION}/wss4j-${WSS4J_VERSION}.jar
 ${WSS4J_STAGE_ROOT}/dist
 #
 # Sign and hash the release bits
 #
@@ -76,7 +72,7 @@
 done
 for i in *.jar *.pom
 do
-    md5 -q $i > $i.md5
+    md5sum $i > $i.md5
 done
 #
 # Build the web site

Modified: webservices/wss4j/trunk/contrib/wss4j-release.sh
URL: 
http://svn.apache.org/viewvc/webservices/wss4j/trunk/contrib/wss4j-release.sh?rev=734986&r1=734985&r2=734986&view=diff
==============================================================================
--- webservices/wss4j/trunk/contrib/wss4j-release.sh (original)
+++ webservices/wss4j/trunk/contrib/wss4j-release.sh Fri Jan 16 04:28:09 2009
@@ -17,7 +17,7 @@
 if [ -z "${WSS4J_SRC_ROOT}" ]
 then
     echo "Assuming WSS4J source tree is the CWD..."
-    WSS4J_SRC_ROOT=.
+    WSS4J_SRC_ROOT=`pwd`
 fi
 if [ -z "${WSS4J_VERSION}" ]
 then
@@ -49,16 +49,12 @@
 cp -r dist/* ${WSS4J_STAGE_ROOT}/dist
 #
 # Build and stage through maven; copy the Jartifact built by Maven to the dist
-# Since we build and test with ant, we use the ant-built JAR as the version of
-# the artifact we'll use in maven.
-#
-# All this will get fixed when we move to maven throughout.
 #
 mvn clean || exit 1
 mvn -Prelease,jdk14 install || exit 1
 mkdir -p ${WSS4J_STAGE_ROOT}/maven/org/apache/ws/security/wss4j/
 cp -r ${M2_REPO}/org/apache/ws/security/wss4j/${WSS4J_VERSION} 
${WSS4J_STAGE_ROOT}/maven/org/apache/ws/security/wss4j
-cp -f ${WSS4J_STAGE_ROOT}/build/wss4j-${WSS4J_VERSION}.jar 
${M2_REPO}/org/apache/ws/security/wss4j/${WSS4J_VERSION}
+cp -f 
${M2_REPO}/org/apache/ws/security/wss4j/${WSS4J_VERSION}/wss4j-${WSS4J_VERSION}.jar
 ${WSS4J_STAGE_ROOT}/dist
 #
 # Sign and hash the release bits
 #
@@ -76,7 +72,7 @@
 done
 for i in *.jar *.pom
 do
-    md5 -q $i > $i.md5
+    md5sum $i > $i.md5
 done
 #
 # Build the web site



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to