# ref. https://goreleaser.com/customization/build/ builds: - id: netrunner main: ./main.go binary: netrunner flags: - -v ldflags: - -X 'github.com/luxfi/netrunner/cmd.Version={{.Version}}' goos: - linux - darwin goarch: - amd64 - arm64 env: # CGO disabled for cross-compilation - uses pure Go fallbacks # For native builds with CGO acceleration, build locally with CGO_ENABLED=1 - CGO_ENABLED=0 release: # Repo in which the release will be created. # Default is extracted from the origin remote URL or empty if its private hosted. github: owner: luxfi name: netrunner