From 97c63bcc5bb5cec326f7fa7a7a4f8c0e52a5e2a9 Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Mon, 6 Mar 2023 12:46:09 -0500 Subject: [PATCH] Remove binary attributes (#439) * Remove all binary attributes To fix "code has no resources but signature indicates they must be present" which is caused by attributes * Also verify signature for testing * Do everything at once --- .goreleaser.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index e45017d..7c9bda6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,7 +4,10 @@ before: hooks: - .ci/set-version.sh - swift build -c debug --product tart + - xattr -cr .build/arm64-apple-macosx/debug/tart - gon gon.hcl + - codesign --verify --deep --strict .build/arm64-apple-macosx/debug/tart + - ./.ci/create-pkg.sh builds: - builder: prebuilt @@ -13,10 +16,7 @@ builds: goarch: - arm64 prebuilt: - path: .build/arm64-apple-macosx/debug/tart - hooks: - post: - - ./.ci/create-pkg.sh + path: .build/arm64-apple-macosx/debug/tart archives: - name_template: "{{ .ProjectName }}"