From 7c952454244d7c59fb2b80d7491f9a76fc9a3f38 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Tue, 1 Jan 2019 13:25:12 -0500 Subject: [PATCH] Enable updating `updates.json` on any branch --- dist/firefox/publish-signed-beta.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/firefox/publish-signed-beta.py b/dist/firefox/publish-signed-beta.py index 3f0b526fe..dee504390 100755 --- a/dist/firefox/publish-signed-beta.py +++ b/dist/firefox/publish-signed-beta.py @@ -297,7 +297,7 @@ with open(updates_json_filepath) as f: r = subprocess.run(['git', 'status', '-s', updates_json_filepath], stdout=subprocess.PIPE) rout = bytes.decode(r.stdout).strip() if len(rout) >= 2 and rout[0] == 'M': - subprocess.run(['git', 'commit', '-m', 'make Firefox dev build auto-update', updates_json_filepath]) - subprocess.run(['git', 'push', 'origin', 'master']) + subprocess.run(['git', 'commit', '-m', 'Make Firefox dev build auto-update', updates_json_filepath]) + subprocess.run(['git', 'push', 'origin', 'HEAD']) print('All done.')