Commit 3d9f065f authored by Johan Lorenzo's avatar Johan Lorenzo Committed by Jonathan Almeida
Browse files

Fix missing Firebase token in nightly and production builds

parent 35543ec6
......@@ -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)
"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'),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment