Skip to content

Why is my "signs" section seemingly ignored? #3958

Answered by caarlos0
jwatte asked this question in Q&A
Discussion options

You must be logged in to vote

you're trying to sign an archive with the id observe-macos, but only a binary with that id exists...

You'll probably need to do something like this:

diff --git a/.goreleaser.yaml b/.goreleaser.yaml
index 06dee3e..48a367e 100644
--- a/.goreleaser.yaml
+++ b/.goreleaser.yaml
@@ -23,16 +23,26 @@ builds:
       post:
       - echo codesign --sign A69028128959F0439E6330344FCAD22D6CF8F59F --prefix com.observeinc.developer. --options runtime --timestamp "{{.Path}}"
 archives:
-  - format: zip
+  - id: observe-macos
+    builds:
+      - observe-macos
+    format: zip
+    files:
+      - README.md
+      - observe_completions_bash.sh
+    wrap_in_directory: true
+    strip_parent_binary_folder: …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jwatte
Comment options

Answer selected by caarlos0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants