ci(release-go): scope to cmd/bridge; drop opnet-watcher (separate module)

This commit is contained in:
2026-05-24 01:23:04 -07:00
parent 3eac448d43
commit 8f7b335fc3
+7 -14
View File
@@ -4,6 +4,11 @@
# drives the npm publish of @luxfi/bridge — the Go and TS sides ship
# together). Builds native binaries for all six policy platforms.
#
# Scope: cmd/bridge (the API + frontend host) — the canonical Go
# binary for this module. opnet-watcher/ is a separate Go module
# (its own go.mod) and ships from its own release pipeline; goreleaser
# cannot build it from the parent module's context.
#
# The Vite SPA + container images are built by .github/workflows/docker.yml
# (native multi-arch via hanzoai/.github reusable workflow).
@@ -28,25 +33,13 @@ builds:
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
- id: opnet-watcher
main: ./opnet-watcher
binary: opnet-watcher
env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
goos: [linux, darwin, windows]
goarch: [amd64, arm64]
archives:
- id: bridge
builds: [bridge, opnet-watcher]
ids: [bridge]
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
formats: [zip]
files:
- LICENSE*
- README*