Use 7z LIKE GOD INTENDED IT instead of fucking zip
This commit is contained in:
@@ -24,9 +24,7 @@ echo "Building the binary..."
|
|||||||
|
|
||||||
echo "Creating release zip..."
|
echo "Creating release zip..."
|
||||||
ZIP="pyfa-${TAG}-win.zip"
|
ZIP="pyfa-${TAG}-win.zip"
|
||||||
cd dist/pyfa
|
7z a "${ZIP}" dist/pyfa/*
|
||||||
zip -r "../../${ZIP}" .
|
|
||||||
cd ../..
|
|
||||||
|
|
||||||
echo "Creating a release..."
|
echo "Creating a release..."
|
||||||
TOKEN="$GITEA_API_KEY"
|
TOKEN="$GITEA_API_KEY"
|
||||||
@@ -57,4 +55,6 @@ curl -X POST \
|
|||||||
-F "attachment=@${ZIP}" \
|
-F "attachment=@${ZIP}" \
|
||||||
"$GITEA/api/v1/repos/$REPO/releases/${RELEASE_ID}/assets?name=${ZIP}"
|
"$GITEA/api/v1/repos/$REPO/releases/${RELEASE_ID}/assets?name=${ZIP}"
|
||||||
|
|
||||||
|
rm "${ZIP}"
|
||||||
|
|
||||||
echo "Release complete! ${ZIP} uploaded to ${TAG}"
|
echo "Release complete! ${ZIP} uploaded to ${TAG}"
|
||||||
|
|||||||
Reference in New Issue
Block a user