mirror of
https://github.com/zen-browser/desktop.git
synced 2025-12-15 10:55:28 +00:00
chore: New upstream fetch script, p=#11253, c=workflows, scripts
* chore: New upstream fetch script, b=no-bug, c=workflows, scripts Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com> --------- Signed-off-by: mr. m <91018726+mr-cheffy@users.noreply.github.com>
This commit is contained in:
@@ -29,12 +29,12 @@ def update_rc(last_version: str):
|
||||
|
||||
|
||||
def update_ff(is_rc: bool = False, last_version: str = ""):
|
||||
"""Runs the npm command to update the 'ff' component."""
|
||||
"""Runs the npm command to sync Firefox."""
|
||||
if is_rc:
|
||||
return update_rc(last_version)
|
||||
result = os.system("npm run update-ff:raw")
|
||||
result = os.system("npm run sync:raw")
|
||||
if result != 0:
|
||||
raise RuntimeError("Failed to update 'ff' component.")
|
||||
raise RuntimeError("Failed to sync Firefox.")
|
||||
|
||||
|
||||
def get_version_from_file(filename, is_rc):
|
||||
|
||||
Reference in New Issue
Block a user