Skip to content

Commit 182e7b4

Browse files
committed
Add missing 'openssl' command
And turn on error mode in the bash script.
1 parent d0cb888 commit 182e7b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: admin/build.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e
4+
35
# prep environment for publish to sonatype staging if the HEAD commit is tagged
46

57
# 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]+\.
1719
K=$encrypted_1ce132863fa7_key
1820
IV=$encrypted_1ce132863fa7_iv
1921

20-
aes-256-cbc -K $K -iv $IV -in admin/secring.asc.enc -out admin/secring.asc -d
22+
openssl aes-256-cbc -K $K -iv $IV -in admin/secring.asc.enc -out admin/secring.asc -d
2123
fi
2224

2325
sbt ++$TRAVIS_SCALA_VERSION "$publishVersion" clean update test publishLocal $extraTarget

0 commit comments

Comments
 (0)