Refactor workflow and scripts for improved functionality; update package.json commands and ensure consistent return values in scripts.
This commit is contained in:
@@ -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__":
|
||||
|
||||
@@ -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.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user