Skip to content

Commit 24bc00f

Browse files
committed
fix paths in zipfile for signed mac binaries
1 parent e2b7c3b commit 24bc00f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ builds:
2929
post:
3030
- cmd: 'codesign -s "Developer ID Application: Brandon Liu (WNSC27EEHU)" -v {{ .Path }} --options=runtime'
3131
output: true
32-
- cmd: zip "{{ .Path }}_signed.zip" {{ .Path }}
32+
- cmd: zip -j "{{ .Path }}_signed.zip" {{ .Path }}
3333
- cmd: xcrun notarytool submit "{{ .Path }}_signed.zip" --apple-id {{ .Env.AC_USERNAME }} --password {{ .Env.AC_PASSWORD }} --team-id WNSC27EEHU --wait
3434
- mv {{ .Path }}_signed.zip dist/go-pmtiles-{{ .Version }}_Darwin_x86_64.zip
3535
- binary: pmtiles
@@ -46,7 +46,7 @@ builds:
4646
post:
4747
- cmd: 'codesign -s "Developer ID Application: Brandon Liu (WNSC27EEHU)" -v {{ .Path }} --options=runtime'
4848
output: true
49-
- cmd: zip "{{ .Path }}_signed.zip" {{ .Path }}
49+
- cmd: zip -j "{{ .Path }}_signed.zip" {{ .Path }}
5050
- cmd: xcrun notarytool submit "{{ .Path }}_signed.zip" --apple-id {{ .Env.AC_USERNAME }} --password {{ .Env.AC_PASSWORD }} --team-id WNSC27EEHU --wait
5151
- mv {{ .Path }}_signed.zip dist/go-pmtiles-{{ .Version }}_Darwin_arm64.zip
5252
archives:

0 commit comments

Comments
 (0)