fix(schema): Introduce BinarySign struct to fix schema bug#6058
Merged
caarlos0 merged 3 commits intogoreleaser:mainfrom Sep 8, 2025
Merged
fix(schema): Introduce BinarySign struct to fix schema bug#6058caarlos0 merged 3 commits intogoreleaser:mainfrom
caarlos0 merged 3 commits intogoreleaser:mainfrom
Conversation
Signed-off-by: Frenchie <frenchie@ensignia.co>
caarlos0
approved these changes
Sep 8, 2025
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6058 +/- ##
==========================================
+ Coverage 82.72% 82.73% +0.01%
==========================================
Files 168 168
Lines 17177 17191 +14
==========================================
+ Hits 14209 14223 +14
Misses 2345 2345
Partials 623 623 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
caarlos0
reviewed
Sep 8, 2025
Contributor
Author
|
Thanks for the review @caarlos0 and thanks for catching the stray quotes - I've fixed that over on goreleaser/goreleaser-pro#32 as well. |
Member
|
thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes the bug discussed in discussion#6057.
The schema & schema-pro incorrectly return 9 valid options for

binary_signs->artifactsinstead of two supported:none | binary. As a result, language servers report 9 valid options, andgorelease checksucceeeds but actual signing fails.Language server incorrect values:
check passes, signing fails:
If applied, this commit will introduce
BinarySignto resolve the bug in the schema, to align with the documentation & actual behaviour of the code.tests updated in
internal/pipe/sign/sign_binary_test.goand a smalltoSignwrapper to ensure backwards compatibility with existingsign().Build succeeds locally:
task cifails due to what seems like an unrelated error?