[sdks/android] Include vcsTag when uploading to bintray.

This commit is contained in:
Nick Alexander 2018-07-26 14:28:14 -07:00
parent 536d40ad84
commit d23f2b373a
2 changed files with 4 additions and 1 deletions

View file

@ -70,7 +70,7 @@ tasks:
&& python automation/taskcluster/release/fetch-bintray-api-key.py
&& cd sdks/android/Mentat
&& ./gradlew --no-daemon clean library:assembleRelease
&& ./gradlew bintrayUpload --debug
&& ./gradlew bintrayUpload --debug -PvcsTag={{ event.head.sha }}
features:
taskclusterProxy: true
metadata:

View file

@ -91,6 +91,9 @@ ext.configurePublish = { groupIdArg, artifactIdArg, descriptionArg ->
desc = descriptionArg
websiteUrl = libUrl
vcsUrl = libVcsUrl
if (project.ext.has('vcsTag')) {
vcsTag = project.ext.vcsTag
}
licenses = [libLicense]
publish = true
publicDownloadNumbers = true