Skip to content

Commit

Permalink
See if we need to force the version
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaccetti committed May 22, 2017
1 parent 413dbea commit aa8a2cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/ciBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ elif [ $TRAVIS_TAG ]; then
echo "Running RC build"
./gradlew clean
./gradlew -PgithubToken=$GITHUB_TOKEN -PbintrayUser=$BINTRAY_USER -PbintrayKey=$BINTRAY_TOKEN \
-Prelease.disableGitChecks=true -Prelease.useLastTag=true build candidate $SWITCHES
-Prelease.disableGitChecks=true -Prelease.version=$TRAVIS_TAG build candidate $SWITCHES
;;
*)
echo "Running release build"
./gradlew clean
./gradlew -PgithubToken=$GITHUB_TOKEN -PbintrayUser=$BINTRAY_USER -PbintrayKey=$BINTRAY_TOKEN \
-Prelease.disableGitChecks=true -Prelease.useLastTag=true build final $SWITCHES
-Prelease.disableGitChecks=true -Prelease.version=$TRAVIS_TAG build final $SWITCHES
;;
esac
else
Expand Down

0 comments on commit aa8a2cd

Please sign in to comment.