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..."
|
||||
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}"
|
||||
|
||||
Reference in New Issue
Block a user