1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-07 14:55:30 +02:00

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

@ -18,4 +18,4 @@ jobs:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
DISCORD_PING_IDS: ${{ secrets.DISCORD_PING_IDS }}
run: |
python3 scripts/check_rc_response.py || true
python3 scripts/check_rc_response.py

View file

@ -12,7 +12,8 @@
"import": "surfer import",
"export": "surfer export",
"init": "npm run bootstrap && npm run import",
"bootstrap": "surfer download && surfer bootstrap",
"download": "surfer download",
"bootstrap": "surfer bootstrap && surfer bootstrap",
"package": "surfer package",
"update-ff": "python3 scripts/update_ff.py",
"update-ff:raw": "surfer update",

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.")