diff options
author | Yegor Kozlov <yegor@apache.org> | 2009-04-11 13:11:39 +0000 |
---|---|---|
committer | Yegor Kozlov <yegor@apache.org> | 2009-04-11 13:11:39 +0000 |
commit | 7e32bc95627d3980aa187d11f187e1bbb99d7f46 (patch) | |
tree | 1aeb127c1bddd47c338abaff59c72a17c4d3cf94 /maven/mvn-deploy.sh | |
parent | 9312add3f0783972936a18da99d9cbf288daca80 (diff) | |
download | poi-7e32bc95627d3980aa187d11f187e1bbb99d7f46.tar.gz poi-7e32bc95627d3980aa187d11f187e1bbb99d7f46.zip |
improved the script for uploading maven artefacts, use gpg:sign-and-deploy-file instead of deploy:deploy-file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@764198 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'maven/mvn-deploy.sh')
-rwxr-xr-x | maven/mvn-deploy.sh | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/maven/mvn-deploy.sh b/maven/mvn-deploy.sh index 5879db9512..5be574a026 100755 --- a/maven/mvn-deploy.sh +++ b/maven/mvn-deploy.sh @@ -31,16 +31,18 @@ # 3. ./mvn-deploy.sh # @author Yegor Kozlov -mvn deploy:deploy-file -DrepositoryId=apache-releases \ - -Durl=@REPOSITORY@ \ +M2_REPOSITORY=@REPOSITORY@ + +mvn gpg:sign-and-deploy-file -DrepositoryId=apache-releases \ + -Durl=$M2_REPOSITORY \ -Dfile=poi-@VERSION@-@DSTAMP@.jar -DpomFile=poi-@VERSION@.pom -mvn deploy:deploy-file -DrepositoryId=apache-releases \ - -Durl=@REPOSITORY@ \ +mvn gpg:sign-and-deploy-file -DrepositoryId=apache-releases \ + -Durl=$M2_REPOSITORY \ -Dfile=poi-scratchpad-@VERSION@-@DSTAMP@.jar -DpomFile=poi-scratchpad-@VERSION@.pom -mvn deploy:deploy-file -DrepositoryId=apache-releases \ - -Durl=@REPOSITORY@ \ +mvn gpg:sign-and-deploy-file -DrepositoryId=apache-releases \ + -Durl=$M2_REPOSITORY \ -Dfile=poi-contrib-@VERSION@-@DSTAMP@.jar -DpomFile=poi-contrib-@VERSION@.pom -mvn deploy:deploy-file -DrepositoryId=apache-releases \ - -Durl=@REPOSITORY@ \ +mvn gpg:sign-and-deploy-file -DrepositoryId=apache-releases \ + -Durl=$M2_REPOSITORY \ -Dfile=poi-ooxml-@VERSION@-@DSTAMP@.jar -DpomFile=poi-ooxml-@VERSION@.pom |