Syntax for signing lists of artifacts #4460
-
My YAML is rusty but it looks like it should be possible for some sort of list object to be used for signing. I have tried a few approaches unsuccessfully, my last is: signs:
- id: one
artifacts: checksum
- id: two
artifacts: binary The YAML is parsed, but Goreleaser only recognizes the first ID. From the docs, I am starting to get the impression it's not going to be possible to cherry-pick artifacts. Can anyone help confirm the syntax if it is possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Okay, so inspecting the detail of the docs a little further, it is possible, but other conditions must be met. If signing signs:
- id: checksum_objects
artifacts: checksum
- id: binary_objects
artifacts: binary
- id: <other artifact>
artifacts: ... or: signs:
- id: archive_objects
artifacts: archive
- id: checksum_objects
artifacts: checksum
- id: <other artifact>
artifacts: ... Depending on how that archive section is configured. (At least that's how it's working, and I don't see a way to have both types signed). |
Beta Was this translation helpful? Give feedback.
-
You can filter by artifact type and |
Beta Was this translation helpful? Give feedback.
That's what I landed on: https://github.com/orgs/goreleaser/discussions/4460#discussioncomment-7763233