Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync beta to main #24

Merged
merged 23 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions scripts/bump.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import json

with open('unifier/plugins/system.json', 'r') as file:
unifier_data = json.load(file)

release = unifier_data['release']
reboot = unifier_data['reboot']
version = unifier_data['version']

with open('update.json', 'r') as file:
data = json.load(file)

data['release'] = int(release)
data['reboot'] = int(reboot)
data['version'] = version

with open('update.json', 'w') as file:
# noinspection PyTypeChecker
json.dump(data, file, indent=2)

print(json.dumps(data, indent=2))
2 changes: 1 addition & 1 deletion scripts/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

repo = sys.argv[1]

if repo == 'dev':
if repo.endswith('/dev'):
print('\x1b[36mDev branch detected, no checks needed.\x1b[0m')
sys.exit(0)

Expand Down
8 changes: 4 additions & 4 deletions update.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"id": "system",
"name": "System extensions",
"description": "Unifier system extensions",
"version": "v3.7.1",
"release": 138,
"reboot": 136,
"version": "v3.8.0-rc.1",
"release": 139,
"reboot": 138,
"b_reboot": 135,
"legacy": [
{
Expand Down Expand Up @@ -34,4 +34,4 @@
"utils": [
"log.py"
]
}
}