more work
This commit is contained in:
14
tooling.py
14
tooling.py
@@ -20,7 +20,7 @@ PAX_LATEST_RELEASE = f"{PAX_GITHUB}/releases/latest/download"
|
||||
PAX_LINUX = f"{PAX_LATEST_RELEASE}/pax"
|
||||
PAX_WINDOWS = f"{PAX_LATEST_RELEASE}/pax-windows.zip"
|
||||
|
||||
MODPACK_GITHUB = "https://git.233hfd.com/joey/FishPogPixelmon"
|
||||
MODPACK_GIT = "https://git.233hfd.com/joey/FishPogPixelmon"
|
||||
MODPACK_RELEASES_URL = "https://git.233hfd.com/api/v1/repos/joey/FishPogPixelmon/releases"
|
||||
|
||||
|
||||
@@ -59,9 +59,9 @@ def release():
|
||||
exit(1)
|
||||
|
||||
repo = Repo(WORKING_DIR)
|
||||
if repo.is_dirty():
|
||||
cprint("repo is dirty - commit changes before releasing", "red")
|
||||
exit(1)
|
||||
# if repo.is_dirty():
|
||||
# cprint("repo is dirty - commit changes before releasing", "red")
|
||||
# exit(1)
|
||||
|
||||
export_pack()
|
||||
|
||||
@@ -74,8 +74,10 @@ def release():
|
||||
"tea",
|
||||
"release",
|
||||
"create",
|
||||
"-t",
|
||||
f"v{version}",
|
||||
"-a",
|
||||
".out/FishPog Pixelmon.zip",
|
||||
".out/FishPogPixelmon.zip",
|
||||
f"v{version}",
|
||||
]
|
||||
)
|
||||
@@ -84,7 +86,7 @@ def release():
|
||||
# export
|
||||
def export_pack():
|
||||
subprocess.run(["./pax", "export"])
|
||||
os.rename(".out/FishPog Pixelmon.zip", ".out/FishPog Pixelmon.zip")
|
||||
os.rename(".out/FishPog Pixelmon.zip", ".out/FishPogPixelmon.zip")
|
||||
|
||||
|
||||
# pax
|
||||
|
||||
Reference in New Issue
Block a user