mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-07 21:49:58 +02:00
Refactor language pack scripts: replace shell scripts with Python equivalents for improved maintainability and functionality; remove obsolete scripts and update surfer.json formatting.
This commit is contained in:
parent
2aaf3f82e6
commit
a512948eb0
8 changed files with 93 additions and 26 deletions
|
@ -5,6 +5,7 @@ import shutil
|
|||
|
||||
from check_rc_response import get_rc_response, rc_should_be_updated
|
||||
|
||||
|
||||
def update_rc(last_version: str):
|
||||
rc_version = get_rc_response()
|
||||
if rc_should_be_updated(rc_version, last_version):
|
||||
|
@ -42,7 +43,7 @@ def get_version_from_file(filename, is_rc):
|
|||
raise RuntimeError(f"Error reading version from {filename}: {e}")
|
||||
|
||||
|
||||
def update_readme(last_version, new_version, is_rc = False):
|
||||
def update_readme(last_version, new_version, is_rc=False):
|
||||
"""Updates the README.md file to reflect the new version."""
|
||||
prefix = "RC " if is_rc else ""
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue