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

Unifier 3.8.0 Beta #19

Draft
wants to merge 15 commits into
base: beta
Choose a base branch
from
19 changes: 19 additions & 0 deletions scripts/bump.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import json

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

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

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

data['release'] = int(release)
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-a.6",
"release": 139,
"reboot": 138,
"b_reboot": 135,
"legacy": [
{
Expand Down Expand Up @@ -34,4 +34,4 @@
"utils": [
"log.py"
]
}
}
Loading