1
0
Fork 0

Fix missing Firebase token in nightly and production builds

master
Johan Lorenzo 2019-11-14 14:45:37 +01:00 committed by Jonathan Almeida
parent 35543ec6b9
commit 3d9f065f59
1 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ def add_shippable_secrets(config, tasks):
if task.pop("include-shippable-secrets", False) and config.params["level"] == "3":
build_type = task["attributes"]["build-type"]
gradle_build_type = task["run"]["gradle-build-type"]
secret_index = 'project/mobile/fenix/{}'.format(build_type)
secrets.extend([{
"key": key,
@ -42,7 +43,7 @@ def add_shippable_secrets(config, tasks):
"path": target_file,
} for key, target_file in (
('adjust', '.adjust_token'),
('firebase', 'app/src/{}/res/values/firebase.xml'.format(build_type)),
('firebase', 'app/src/{}/res/values/firebase.xml'.format(gradle_build_type)),
('digital_asset_links', '.digital_asset_links_token'),
('leanplum', '.leanplum_token'),
('sentry_dsn', '.sentry_token'),