Skip to main content

Source code file content

Revision: 57877

Use a different date format, because mvn or hudson is doing intelligent parsing of other format.
» Project Revision History

» Checkout URL

svn / trunk / copyright-plugin / release.sh

Size: 763 bytes, 1 line
#!/bin/sh -x
#------------------------------------------------------   
#--	BE SURE TO HAVE THE FOLLOWING IN YOUR SETTINGS.XML
#------------------------------------------------------
#
#    <servers>
#        <server>
#            <id>jvnet-nexus-staging</id>
#            <username>jvnet_id</username>
#            <password>password</password>
#        </server>
#    </servers>

# see the following URL for gpg issues
# https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven#HowToGeneratePGPSignaturesWithMaven-GenerateaKeyPair

mvn --fail-never $1 release:rollback
mvn -B $1 release:prepare -DpreparationGoals="install -P\!jvnet-release"
mvn -B $1 release:perform -Dgoals="deploy $2 -Dgpg.passphrase=glassfish -Pjvnet-release"
 
 
Close
loading
Please Confirm
Close