fix(release): restrict goreleaser to Linux-only targets - #10
Merged
Conversation
The v0.2.0 release failed: goreleaser cross-compiled windows/darwin targets, but the codebase uses POSIX-only syscalls (Setpgid, syscall.Kill) with no build constraints, breaking the windows build. Backstage targets Hyprland/Wayland and is Linux-only by nature, so non-Linux artifacts have no audience. Scope releases to Linux: - goreleaser: goos = [linux] only; drop windows zip format_override - remove install.ps1 (Windows installer) from archive files and repo - README: drop Windows PowerShell and macOS/WSL install instructions Verified with 'goreleaser release --snapshot --clean': builds only linux_amd64 and linux_arm64, producing backstage_Linux_x86_64.tar.gz and backstage_Linux_arm64.tar.gz plus checksums.txt.
This-Is-NPC
force-pushed
the
fix/release-linux-only
branch
from
June 15, 2026 05:33
900d172 to
67f010f
Compare
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.
Before
v0.2.0release failed. goreleaser cross-compiled 6 targets (goos: [linux, darwin, windows]×goarch: [amd64, arm64]), but the codebase uses POSIX-only syscalls (Setpgid,syscall.Kill) with no build constraints, so the windows build broke and the whole release aborted.After
Summary of changes
goos: [linux, darwin, windows]→goos: [linux]format_override; removedinstall.ps1from archivefilesinstall.ps1deleted from the repoFiles updated
.goreleaser.ymlREADME.mdinstall.ps1(deleted)Validation
goreleaser checkgoreleaser release --snapshot --cleanlinux_amd64+linux_arm64; producesbackstage_Linux_x86_64.tar.gz,backstage_Linux_arm64.tar.gz,checksums.txtDeviations
Risks / follow-ups
v0.2.0tag will not auto-re-run after merge. Either re-trigger the goreleaser job for that tag, or let the next release-please tag pick up the fix.//go:buildconstraints is explicitly out of scope here.References
900d172fix/release-linux-only