Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Update deploy script to test for 'oraclejdk8'
Browse files Browse the repository at this point in the history
Issue #2
  • Loading branch information
sormuras committed Aug 28, 2018
1 parent 2a27b83 commit 78eb11d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/publish.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if [ "${TRAVIS_JDK_VERSION}" == "openjdk11" ] ; then
if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk8" ] ; then
if [ "${TRAVIS_PULL_REQUEST}" == "false" ] ; then
if [ "${TRAVIS_BRANCH}" == "master" ] ; then
mvn deploy --settings $GPG_DIR/settings.xml -DperformRelease=true -DskipTests=true
Expand All @@ -12,5 +12,5 @@ if [ "${TRAVIS_JDK_VERSION}" == "openjdk11" ] ; then
echo "Deploy skipped: On pull request"
fi
else
echo "Deploy skipped: Only on openjdk11"
echo "Deploy skipped: Only on oraclejdk8"
fi

0 comments on commit 78eb11d

Please sign in to comment.