From 182e7b4ee1dfab281e92144e0febf30b9300b87b Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Wed, 14 Jan 2015 12:06:56 +1000 Subject: [PATCH] Add missing 'openssl' command And turn on error mode in the bash script. --- admin/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/build.sh b/admin/build.sh index 2ce0f4b..b67abcf 100755 --- a/admin/build.sh +++ b/admin/build.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -e + # prep environment for publish to sonatype staging if the HEAD commit is tagged # git on travis does not fetch tags, but we have TRAVIS_TAG @@ -17,7 +19,7 @@ if [ "$TRAVIS_JDK_VERSION" == "$PUBLISH_JDK" ] && [[ "$TRAVIS_TAG" =~ ^v[0-9]+\. K=$encrypted_1ce132863fa7_key IV=$encrypted_1ce132863fa7_iv - aes-256-cbc -K $K -iv $IV -in admin/secring.asc.enc -out admin/secring.asc -d + openssl aes-256-cbc -K $K -iv $IV -in admin/secring.asc.enc -out admin/secring.asc -d fi sbt ++$TRAVIS_SCALA_VERSION "$publishVersion" clean update test publishLocal $extraTarget