diff options
Diffstat (limited to 'deploy.sh')
-rw-r--r-- | deploy.sh | 11 |
1 files changed, 11 insertions, 0 deletions
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 |