[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 && python automation/taskcluster/release/fetch-bintray-api-key.py
&& cd sdks/android/Mentat && cd sdks/android/Mentat
&& ./gradlew --no-daemon clean library:assembleRelease && ./gradlew --no-daemon clean library:assembleRelease
&& ./gradlew bintrayUpload --debug && ./gradlew bintrayUpload --debug -PvcsTag={{ event.head.sha }}
features: features:
taskclusterProxy: true taskclusterProxy: true
metadata: metadata:

View file

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