Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
108 additions
and
95 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#! /bin/sh | ||
|
||
SCRIPT_DIR=`dirname $0` | ||
JAVA_COMPAT=`javac -version 2>&1 | grep 1.6 | wc -l` | ||
SCALA_COMPAT=`echo "$TRAVIS_SCALA_VERSION" | grep "2.11" | wc -l` | ||
|
||
# TRAVIS_BRANCH | ||
# -o "$TRAVIS_BRANCH" != "master" | ||
if [ "$MONGO_SSL" = "false" -o "$SONATYPE_USER" = "" -o "$SONATYPE_PASS" = "" -o $JAVA_COMPAT -ne 1 -o $SCALA_COMPAT -ne 1 ]; then | ||
echo "skip the snapshot publication: $JAVA_COMPAT $SCALA_COMPAT" | ||
exit 0 | ||
fi | ||
|
||
cd "$SCRIPT_DIR/.." | ||
|
||
export PUBLISH_REPO_NAME="Sonatype Nexus Repository Manager" | ||
export PUBLISH_REPO_ID="oss.sonatype.org" | ||
export PUBLISH_REPO_URL=https://oss.sonatype.org/content/repositories/snapshots/ | ||
export PUBLISH_USER="$SONATYPE_USER" | ||
export PUBLISH_PASS="$SONATYPE_PASS" | ||
|
||
sbt '+publish' |
This file was deleted.
Oops, something went wrong.
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
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
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