Skip to content

Commit

Permalink
Merge pull request #24 from UnifierHQ/beta
Browse files Browse the repository at this point in the history
Sync beta to main
  • Loading branch information
greeeen-dev authored Feb 10, 2025
2 parents 519ec08 + a7ade13 commit 5ffcc7b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
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 All @@ -27,4 +27,4 @@
"utils": [
"log.py"
]
}
}

0 comments on commit 5ffcc7b

Please sign in to comment.