From 8772e6c9055bbea6dea347997fd5380fb1cd09d7 Mon Sep 17 00:00:00 2001 From: Mark Perry Date: Wed, 4 Mar 2015 23:06:21 +1000 Subject: Get compilation working with few dependencies, using travis on java 7 --- deploy.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 deploy.sh (limited to 'deploy.sh') diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..7c4658b --- /dev/null +++ b/deploy.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +./gradlew uploadArchives -PsonatypeUsername="${SONATYPE_USERNAME}" -PsonatypePassword="${SONATYPE_PASSWORD}" -i -s +RETVAL=$? + +if [ $RETVAL -eq 0 ]; then + echo 'Completed publish!' +else + echo 'Publish failed.' + return 1 +fi -- cgit