mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-07 23:00:01 +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:
parent
20882f65cc
commit
f6d3b4d868
4 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue