mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
ci(release-go): scope to cmd/bridge; drop opnet-watcher (separate module)
This commit is contained in:
+7
-14
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user