-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #210 from mziccard/fix-travis-pull-request
Move travis decrypting to after_success.sh (no pull requests)
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,12 @@ if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk7" -a "${TRAVIS_BRANCH}" == "master" - | |
|
||
SITE_VERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -Ev '(^\[|\w+:)') | ||
if [ "${SITE_VERSION##*-}" != "SNAPSHOT" ]; then | ||
# Get signing tools | ||
openssl aes-256-cbc -K $encrypted_631490ecae8f_key -iv $encrypted_631490ecae8f_iv -in target/travis/signing-tools.tar.enc -out target/travis/signing-tools.tar -d | ||
mkdir target/travis/signing-tools | ||
chmod 700 target/travis/signing-tools | ||
tar xvf target/travis/signing-tools.tar -C target/travis/signing-tools | ||
|
||
# Deploy site if not a SNAPSHOT | ||
git config --global user.name "travis-ci" | ||
git config --global user.email "[email protected]" | ||
|