Skip to content

Commit

Permalink
Chain deploy commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Dino Kovač committed Jul 18, 2017
1 parent 5f2328c commit 58b5f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ ! -z "$4" ]; then
tag_message="$4"
fi

./gradlew clean build generatePomFileForMavenPublication bintrayUpload -PbintrayUser=${username} -PbintrayKey=${api_key} -PdryRun=false
./gradlew clean build generatePomFileForMavenPublication bintrayUpload -PbintrayUser=${username} -PbintrayKey=${api_key} -PdryRun=false && \
git tag -a "${version}" -m "${tag_message}" && \
git push --tags

Expand Down

0 comments on commit 58b5f31

Please sign in to comment.