From 8a37ee810aa4ff0bcc4190ccc5992ddda5a55d85 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sat, 6 Dec 2025 01:55:59 +0100 Subject: [PATCH] Use 7z LIKE GOD INTENDED IT instead of fucking zip --- release.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release.sh b/release.sh index 913af58bf..13a67cfc1 100644 --- a/release.sh +++ b/release.sh @@ -24,9 +24,7 @@ echo "Building the binary..." echo "Creating release zip..." ZIP="pyfa-${TAG}-win.zip" -cd dist/pyfa -zip -r "../../${ZIP}" . -cd ../.. +7z a "${ZIP}" dist/pyfa/* echo "Creating a release..." TOKEN="$GITEA_API_KEY" @@ -56,5 +54,7 @@ curl -X POST \ -H "Authorization: token $TOKEN" \ -F "attachment=@${ZIP}" \ "$GITEA/api/v1/repos/$REPO/releases/${RELEASE_ID}/assets?name=${ZIP}" + +rm "${ZIP}" echo "Release complete! ${ZIP} uploaded to ${TAG}"