Skip to content

Commit

Permalink
Update circle build to set release.version to the tag being built
Browse files Browse the repository at this point in the history
  • Loading branch information
jkschneider committed Jun 16, 2017
1 parent 110c62c commit fda92f5
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 @@ -13,10 +13,10 @@ elif [ $CIRCLE_TAG ]; then
echo -e 'Build Branch for Release => Branch ['$CIRCLE_BRANCH'] Tag ['$CIRCLE_TAG']'
case "$CIRCLE_TAG" in
*-rc\.*)
./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true clean build candidate $SWITCHES
./gradlew -Prelease.disableGitChecks=true -Prelease.version=$CIRCLE_TAG clean build candidate $SWITCHES
;;
*)
./gradlew -Prelease.disableGitChecks=true -Prelease.useLastTag=true clean build final $SWITCHES
./gradlew -Prelease.disableGitChecks=true -Prelease.version=$CIRCLE_TAG clean build final $SWITCHES
;;
esac
else
Expand Down

0 comments on commit fda92f5

Please sign in to comment.