Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay Kannan committed Apr 8, 2016
1 parent c1b4032 commit c45bb9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utilities/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk7" ]; then
fi
if [ "${SITE_VERSION##*-}" != "SNAPSHOT" ]; then
# Deploy Maven artifacts (if they don't exist yet) and update artifact version in READMEs.
URL=https://oss.sonatype.org/content/repositories/releases/com/google/gcloud/gcloud-java/$SITE_VERSION
URL=https://oss.sonatype.org/content/repositories/releases/com/google/gcloud/gcloud-java/$SITE_VERSION/
if curl --output /dev/null --silent --head --fail "$URL"; then
echo "Not deploying artifacts because it seems like they already exist."
echo "Not deploying artifacts because it seems like they already exist."
echo "Existence was checked using the url $URL"
else
mvn clean deploy -DskipITs --settings ~/.m2/settings.xml -P sign-deploy
fi
Expand Down

0 comments on commit c45bb9f

Please sign in to comment.