You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
418 B
17 lines
418 B
4 months ago
|
#!/bin/bash
|
||
|
|
||
|
# see https://coderwall.com/p/9b_lfq
|
||
|
|
||
|
set -e -u
|
||
|
|
||
|
if [ "$TRAVIS_REPO_SLUG" == "google/jimfs" ] && \
|
||
|
[ "$TRAVIS_JDK_VERSION" == "oraclejdk7" ] && \
|
||
|
[ "$TRAVIS_PULL_REQUEST" == "false" ] && \
|
||
|
[ "$TRAVIS_BRANCH" == "master" ]; then
|
||
|
echo "Publishing Maven snapshot..."
|
||
|
|
||
|
mvn clean source:jar javadoc:jar deploy --settings="util/settings.xml" -DskipTests=true
|
||
|
|
||
|
echo "Maven snapshot published."
|
||
|
fi
|