Skip to content

fix: split SIGUSR1/SIGHUP reload signal handling into platform files#1233

Merged
perber merged 3 commits into
mainfrom
fix/windows-signal-build
Jun 30, 2026
Merged

fix: split SIGUSR1/SIGHUP reload signal handling into platform files#1233
perber merged 3 commits into
mainfrom
fix/windows-signal-build

Conversation

@perber

@perber perber commented Jun 30, 2026

Copy link
Copy Markdown
Owner

syscall.SIGUSR1 doesn't exist on Windows, breaking the windows/amd64 release binary build and leaving an empty asset that GitHub then rejected during release upload.

perber added 3 commits June 30, 2026 22:14
syscall.SIGUSR1 doesn't exist on Windows, breaking the windows/amd64
release binary build and leaving an empty asset that GitHub then
rejected during release upload.
go build ./cmd/leafwiki/main.go only compiles that single file,
silently dropping sibling files in the package (e.g. the new
signals_unix.go/signals_windows.go). Build the package directory
instead so all files are included.
Unanchored "leafwiki" matched any path component, so files added
under cmd/leafwiki/ required -f to stage. Anchoring to /leafwiki
keeps the root build artifact ignored without shadowing the package
directory.
@perber perber merged commit c010cf8 into main Jun 30, 2026
9 checks passed
@perber perber deleted the fix/windows-signal-build branch June 30, 2026 20:35
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.

1 participant