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:
mr. m
2025-11-11 09:46:52 +01:00
committed by GitHub
parent 5bd0a01d53
commit 47395bf3ce
5 changed files with 97 additions and 13 deletions

View File

@@ -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):