Refactor workflow and scripts for improved functionality; update package.json commands and ensure consistent return values in scripts.

This commit is contained in:
mr. M 2025-01-13 22:53:39 +01:00
parent 20882f65cc
commit f6d3b4d868
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
4 changed files with 6 additions and 3 deletions

View file

@ -80,7 +80,7 @@ def main() -> int:
return 0
print(f"Current version: {current_version}, RC version: {rc_response}")
return 1
return 0
if __name__ == "__main__":

View file

@ -17,6 +17,8 @@ def update_rc(last_version: str):
with open("surfer.json", "w") as f:
data["version"]["candidate"] = rc_version
json.dump(data, f, indent=2)
print("Download the new engine by running 'pnpm download'.")
os.system("pnpm download")
else:
print("No new Firefox RC version available.")