Skip to content

fix(release): make --platform filter Goreleaser builds - #122

Open
huyua9 wants to merge 1 commit into
balajz:mainfrom
huyua9:fix/release-platform-filter
Open

fix(release): make --platform filter Goreleaser builds#122
huyua9 wants to merge 1 commit into
balajz:mainfrom
huyua9:fix/release-platform-filter

Conversation

@huyua9

@huyua9 huyua9 commented Aug 30, 2026

Copy link
Copy Markdown

Summary

script/release --platform previously filtered .goreleaser.yaml using #build: comments that are no longer present, so every platform could keep all build definitions.

This change filters the builds section by its actual Goreleaser build IDs (linux, darwin, windows) and adds a shell regression test for all three CLI values.

Validation

  • bash -n script/release script/release_test.sh
  • script/release_test.sh
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants