Source

duel / deploy.sh

Full commit
Stephen McKamey 9a0d9ee 













Stephen McKamey 7492440 
Stephen McKamey 7d5b47b 





Stephen McKamey 7492440 


Stephen McKamey 9a0d9ee 
Stephen McKamey 7492440 


Stephen McKamey 9a0d9ee 
Stephen McKamey 7492440 


Stephen McKamey 9a0d9ee 
Stephen McKamey 4a07440 


Stephen McKamey 9a0d9ee 
Stephen McKamey 516388f 
Stephen McKamey 85fd2f8 

Stephen McKamey 9a0d9ee 
#!/bin/bash
set -e

# --------------------------------------------------------
# Before using this script, need to ensure
# ~/.gnupg/ contains key corresponding to KEYNAME, and
# ~/.m2/settings.xml contains OSS Sonatype credentials
# --------------------------------------------------------

if [ $1 != '' ]; then
	PASSPHRASE=-Dgpg.passphrase=$1
else
	PASSPHRASE=''
fi

if [ $2 != '' ]; then
	KEYNAME=-Dgpg.keyname=$2
else
	KEYNAME=-Dgpg.keyname=EE82F9AB
fi

clear;clear

cd duel-runtime
mvn clean deploy -DperformRelease=true ${KEYNAME} ${PASSPHRASE}
cd ..

cd duel-compiler
mvn clean deploy -U -DperformRelease=true ${KEYNAME} ${PASSPHRASE}
cd ..

cd duel-maven-plugin
mvn clean deploy -U -DperformRelease=true ${KEYNAME} ${PASSPHRASE}
cd ..

cd duel-staticapps
mvn clean deploy -U -DperformRelease=true ${KEYNAME} ${PASSPHRASE}
cd ..

cd duel-staticapps-maven-plugin
mvn clean deploy -U -DperformRelease=true ${KEYNAME} ${PASSPHRASE}