Skip to content

Commit 203f4f1

Browse files
committed
fix: use zip format for macOS archives (required by notarytool)
notarytool rejects tar.gz — only accepts zip, pkg, or dmg. Split archives config: zip for darwin, tar.gz for linux.
1 parent 7062e98 commit 203f4f1

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
6363
APPLE_APP_PASSWORD: ${{ secrets.APPLE_APP_PASSWORD }}
6464
run: |
65-
for archive in dist/lazyagent_*_darwin_*.tar.gz; do
65+
for archive in dist/lazyagent_*_darwin_*.zip; do
6666
echo "Notarizing $archive ..."
6767
xcrun notarytool submit "$archive" \
6868
--apple-id "$APPLE_ID" \

.goreleaser.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,18 @@ builds:
4545
- arm64
4646

4747
archives:
48-
- formats:
48+
- id: darwin
49+
builds:
50+
- darwin
51+
formats:
52+
- zip
53+
files:
54+
- README.md
55+
- LICENSE
56+
- id: linux
57+
builds:
58+
- linux
59+
formats:
4960
- tar.gz
5061
files:
5162
- README.md

0 commit comments

Comments
 (0)