Skip to content

Commit

Permalink
Add places-library to the set of AARs we publish, and bump the version
Browse files Browse the repository at this point in the history
  • Loading branch information
Thom Chiovoloni committed Oct 30, 2018
1 parent fcece87 commit aa8ed14
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .taskcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ tasks:
&& git checkout '{{ event.version }}'
&& python automation/taskcluster/release/fetch-bintray-api-key.py
&& ./scripts/taskcluster-android.sh
&& ./gradlew --no-daemon clean :fxa-client-library:assembleRelease :logins-library:assembleRelease
&& ./gradlew --no-daemon clean :fxa-client-library:assembleRelease :logins-library:assembleRelease :places-library:assembleRelease
&& ./gradlew bintrayUpload --debug -PvcsTag="{{ event.head.sha }}"
artifacts:
'public/bin/mozilla/fxaclient-release-{{ event.version }}.aar':
Expand All @@ -79,6 +79,9 @@ tasks:
'public/bin/mozilla/logins-release-{{ event.version }}.aar':
type: 'file'
path: '/build/application-services/logins-api/android/library/build/outputs/aar/logins-release.aar'
'public/bin/mozilla/places-release-{{ event.head.tag }}.aar':
type: 'file'
path: '/build/application-services/components/places/android/library/build/outputs/aar/places-release.aar'
features:
taskclusterProxy: true
routes:
Expand Down Expand Up @@ -115,7 +118,7 @@ tasks:
&& git checkout '{{ event.head.tag }}'
&& python automation/taskcluster/release/fetch-bintray-api-key.py
&& ./scripts/taskcluster-android.sh
&& ./gradlew --no-daemon clean :fxa-client-library:assembleRelease :logins-library:assembleRelease
&& ./gradlew --no-daemon clean :fxa-client-library:assembleRelease :logins-library:assembleRelease :places-library:assembleRelease
&& ./gradlew bintrayUpload --debug -PvcsTag="{{ event.head.sha }}"
artifacts:
'public/bin/mozilla/fxaclient-release-{{ event.head.tag }}.aar':
Expand All @@ -124,6 +127,9 @@ tasks:
'public/bin/mozilla/logins-release-{{ event.head.tag }}.aar':
type: 'file'
path: '/build/application-services/logins-api/android/library/build/outputs/aar/logins-release.aar'
'public/bin/mozilla/places-release-{{ event.head.tag }}.aar':
type: 'file'
path: '/build/application-services/components/places/android/library/build/outputs/aar/places-release.aar'
features:
taskclusterProxy: true
metadata:
Expand Down
6 changes: 5 additions & 1 deletion automation/taskcluster/decision_task_pull_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def create_fxaclient_task():
&& git config advice.detachedHead false \
&& git checkout %s \
&& ./scripts/taskcluster-android.sh \
&& ./gradlew --no-daemon clean :fxa-client-library:assembleRelease :logins-library:assembleRelease" % (REPO_URL, REPO_URL, BRANCH, COMMIT)
&& ./gradlew --no-daemon clean :fxa-client-library:assembleRelease :logins-library:assembleRelease :places-library:assembleRelease" % (REPO_URL, REPO_URL, BRANCH, COMMIT)
],
"artifacts": {
"public/bin/mozilla/fxaclient-release.aar": {
Expand All @@ -71,6 +71,10 @@ def create_fxaclient_task():
"type": "file",
"path": "/build/application-services/logins-api/android/library/build/outputs/aar/logins-release.aar",
},
"public/bin/mozilla/places-release.aar": {
"type": "file",
"path": "/build/application-services/components/places/android/library/build/outputs/aar/places-release.aar",
},
}
},
"provisionerId": "aws-provisioner-v1",
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
ext.kotlin_version = '1.2.50'

ext.library = [
version: '0.7.1'
version: '0.7.2'
]

ext.build = [
Expand Down

0 comments on commit aa8ed14

Please sign in to comment.