Skip to content

Commit 665847b

Browse files
committed
ci(release): zip macOS binaries before attaching to release
1 parent e3e908b commit 665847b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/actions/publish-release/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,12 +313,14 @@ runs:
313313
# Check for and prepare macOS binaries if they exist
314314
if [[ -f "dist/darwin-arm64/gemini" ]]; then
315315
cp dist/darwin-arm64/gemini gemini-darwin-arm64-unsigned
316-
RELEASE_ASSETS+=("gemini-darwin-arm64-unsigned")
316+
zip gemini-darwin-arm64-unsigned.zip gemini-darwin-arm64-unsigned
317+
RELEASE_ASSETS+=("gemini-darwin-arm64-unsigned.zip")
317318
fi
318319
319320
if [[ -f "dist/darwin-x64/gemini" ]]; then
320321
cp dist/darwin-x64/gemini gemini-darwin-x64-unsigned
321-
RELEASE_ASSETS+=("gemini-darwin-x64-unsigned")
322+
zip gemini-darwin-x64-unsigned.zip gemini-darwin-x64-unsigned
323+
RELEASE_ASSETS+=("gemini-darwin-x64-unsigned.zip")
322324
fi
323325
324326
gh release create "${INPUTS_RELEASE_TAG}" \

0 commit comments

Comments
 (0)