mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-09 00:40:29 +00:00
Update build/release script
- No more 1.15.x - Run ./gradlew build under xvfb-run
This commit is contained in:
parent
1be9a9df22
commit
ad36166f50
5
go4it
5
go4it
@ -31,8 +31,7 @@ class Branch:
|
||||
|
||||
|
||||
BRANCHES: List[Branch] = [
|
||||
Branch('mc-1.15.x'),
|
||||
Branch('mc-1.16.x', parent='mc-1.15.x'),
|
||||
Branch('mc-1.16.x'),
|
||||
Branch('mc-1.17.x', parent='mc-1.16.x', java="16"),
|
||||
# Branch('mc-fabric-1.17.x', parent='mc-1.17.x', java="16"),
|
||||
]
|
||||
@ -193,7 +192,7 @@ def build() -> None:
|
||||
|
||||
for branch in BRANCHES:
|
||||
log(f"Building {branch.name}")
|
||||
ret = run_in(branch, "./gradlew", "build", "--no-daemon").returncode
|
||||
ret = run_in(branch, "xvfb-run", "./gradlew", "build", "--no-daemon").returncode
|
||||
if ret != 0:
|
||||
log(f"Build failed")
|
||||
sys.exit(ret)
|
||||
|
Loading…
Reference in New Issue
Block a user