1. Stephen McKamey
  2. duel

Source

duel / deploy.sh

Stephen McKamey 9a0d9ee 















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
# --------------------------------------------------------

KEYNAME=-Dgpg.keyname=EE82F9AB

if [ $1 != '' ]; then
	PASSPHRASE=-Dgpg.passphrase=$1
else
	PASSPHRASE=''
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}