Skip to content

Commit

Permalink
Remove Javadoc publish on tag. Its in travis script.
Browse files Browse the repository at this point in the history
  • Loading branch information
heshamMassoud committed Sep 6, 2017
1 parent f8b2cf2 commit 4b1997a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions travis-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ echo "TRAVIS_TAG $TRAVIS_TAG"
export TAG=`if [ "$TRAVIS_PULL_REQUEST" = "false" -a -n "$TRAVIS_TAG" ] ; then echo "$TRAVIS_TAG" ; fi`

if [ "$TAG" ]; then
echo "Build is tagged. Uploading Javadoc to https://commercetools.github.io/commercetools-sync-java/javadoc/v/$TAG"
./gradlew --info -Dbuild.version=$TRAVIS_TAG gitPublishPush

echo "Uploading artifact $TAG to Bintray."
echo "Build is tagged. Uploading artifact $TAG to Bintray."
./gradlew --info -Dbuild.version=$TRAVIS_TAG bintrayUpload
else
echo "This build doesn't publish the library since it is not tagged."
Expand Down

0 comments on commit 4b1997a

Please sign in to comment.