mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-09 17:00:30 +00:00
Stop building 1.17
Nobody uses it anyway :)
This commit is contained in:
parent
a9fc3edb5e
commit
8c5e131bfe
3
.gitignore
vendored
3
.gitignore
vendored
@ -8,3 +8,6 @@
|
|||||||
/gradle*
|
/gradle*
|
||||||
/*.gradle
|
/*.gradle
|
||||||
/build
|
/build
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
/.mailmap
|
||||||
|
7
go4it
7
go4it
@ -32,8 +32,7 @@ class Branch:
|
|||||||
|
|
||||||
BRANCHES: List[Branch] = [
|
BRANCHES: List[Branch] = [
|
||||||
Branch('mc-1.16.x'),
|
Branch('mc-1.16.x'),
|
||||||
Branch('mc-1.17.x', parent='mc-1.16.x', java="16"),
|
Branch('mc-1.18.x', parent='mc-1.16.x', java="17"),
|
||||||
Branch('mc-1.18.x', parent='mc-1.17.x', java="17"),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
@ -205,7 +204,7 @@ def build() -> None:
|
|||||||
|
|
||||||
for branch in BRANCHES:
|
for branch in BRANCHES:
|
||||||
log(f"Building {branch.name}")
|
log(f"Building {branch.name}")
|
||||||
ret = run_in(branch, "xvfb-run", "./gradlew", "build", "--no-daemon").returncode
|
ret = run_in(branch, "./gradlew", "build", "--no-daemon").returncode
|
||||||
if ret != 0:
|
if ret != 0:
|
||||||
log(f"Build failed")
|
log(f"Build failed")
|
||||||
sys.exit(ret)
|
sys.exit(ret)
|
||||||
@ -215,7 +214,7 @@ def release() -> None:
|
|||||||
"""Publish releases for each version."""
|
"""Publish releases for each version."""
|
||||||
build()
|
build()
|
||||||
|
|
||||||
check = input("Are you sure you want to release? Make sure you've performed some manual checks first! [y/N]").lower()
|
check = input("Are you sure you want to release? Make sure you've performed some manual checks first! [y/N]").lower().strip()
|
||||||
if check != "y":
|
if check != "y":
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user