1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-07-02 18:13:21 +00:00

Stop building 1.17

Nobody uses it anyway :)
This commit is contained in:
Jonathan Coates 2022-05-22 15:04:24 +01:00
parent a9fc3edb5e
commit 8c5e131bfe
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
2 changed files with 6 additions and 4 deletions

3
.gitignore vendored
View File

@ -8,3 +8,6 @@
/gradle*
/*.gradle
/build
# Misc
/.mailmap

7
go4it
View File

@ -32,8 +32,7 @@ class Branch:
BRANCHES: List[Branch] = [
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.17.x', java="17"),
Branch('mc-1.18.x', parent='mc-1.16.x', java="17"),
]
@ -205,7 +204,7 @@ def build() -> None:
for branch in BRANCHES:
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:
log(f"Build failed")
sys.exit(ret)
@ -215,7 +214,7 @@ def release() -> None:
"""Publish releases for each version."""
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":
sys.exit(1)