ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [ws-wss4j] 06/07: Some updates to the release script - We now ship the jartifact built by maven rather than ant
Date Thu, 31 Oct 2019 14:36:07 GMT
This is an automated email from the ASF dual-hosted git repository.

dkulp pushed a commit to annotated tag 1_5_5
in repository https://gitbox.apache.org/repos/asf/ws-wss4j.git

commit e3147075984ce5b305c2de2783ac01f2ac46ac8d
Author: Colm O hEigeartaigh <coheigea@apache.org>
AuthorDate: Fri Jan 16 12:28:09 2009 +0000

    Some updates to the release script
     - We now ship the jartifact built by maven rather than ant
---
 build.xml                |  2 +-
 contrib/wss4j-release.sh | 10 +++-------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/build.xml b/build.xml
index a39668e..83cfd83 100644
--- a/build.xml
+++ b/build.xml
@@ -28,7 +28,7 @@ Build Instructions:
         <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."/>
diff --git a/contrib/wss4j-release.sh b/contrib/wss4j-release.sh
index 531e8e6..87dac20 100755
--- a/contrib/wss4j-release.sh
+++ b/contrib/wss4j-release.sh
@@ -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 @@ ant dist || exit 1
 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 @@ do
 done
 for i in *.jar *.pom
 do
-    md5 -q $i > $i.md5
+    md5sum $i > $i.md5
 done
 #
 # Build the web site


Mime
View raw message