From 24bc00f9beff22969e37f199143e3c396cf5d2d9 Mon Sep 17 00:00:00 2001 From: Brandon Liu Date: Wed, 18 Oct 2023 12:12:02 -0400 Subject: [PATCH] fix paths in zipfile for signed mac binaries --- .goreleaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 4d17a0d..2e0d6c3 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -29,7 +29,7 @@ builds: post: - cmd: 'codesign -s "Developer ID Application: Brandon Liu (WNSC27EEHU)" -v {{ .Path }} --options=runtime' output: true - - cmd: zip "{{ .Path }}_signed.zip" {{ .Path }} + - cmd: zip -j "{{ .Path }}_signed.zip" {{ .Path }} - cmd: xcrun notarytool submit "{{ .Path }}_signed.zip" --apple-id {{ .Env.AC_USERNAME }} --password {{ .Env.AC_PASSWORD }} --team-id WNSC27EEHU --wait - mv {{ .Path }}_signed.zip dist/go-pmtiles-{{ .Version }}_Darwin_x86_64.zip - binary: pmtiles @@ -46,7 +46,7 @@ builds: post: - cmd: 'codesign -s "Developer ID Application: Brandon Liu (WNSC27EEHU)" -v {{ .Path }} --options=runtime' output: true - - cmd: zip "{{ .Path }}_signed.zip" {{ .Path }} + - cmd: zip -j "{{ .Path }}_signed.zip" {{ .Path }} - cmd: xcrun notarytool submit "{{ .Path }}_signed.zip" --apple-id {{ .Env.AC_USERNAME }} --password {{ .Env.AC_PASSWORD }} --team-id WNSC27EEHU --wait - mv {{ .Path }}_signed.zip dist/go-pmtiles-{{ .Version }}_Darwin_arm64.zip archives: