2022-09-30 19:45:41 -03:00
|
|
|
# ref. https://goreleaser.com/customization/build/
|
|
|
|
|
builds:
|
2024-01-02 20:55:14 +01:00
|
|
|
- id: netrunner
|
2022-09-30 19:45:41 -03:00
|
|
|
main: ./main.go
|
2024-01-02 20:55:14 +01:00
|
|
|
binary: netrunner
|
2022-09-30 19:45:41 -03:00
|
|
|
flags:
|
|
|
|
|
- -v
|
|
|
|
|
ldflags:
|
2025-07-20 08:38:06 +00:00
|
|
|
- -X 'github.com/luxfi/netrunner/cmd.Version={{.Version}}'
|
2022-09-30 19:45:41 -03:00
|
|
|
goos:
|
|
|
|
|
- linux
|
|
|
|
|
- darwin
|
|
|
|
|
goarch:
|
|
|
|
|
- amd64
|
|
|
|
|
- arm64
|
|
|
|
|
env:
|
2026-01-26 17:25:57 -08:00
|
|
|
# CGO disabled for cross-compilation - uses pure Go fallbacks
|
|
|
|
|
# For native builds with CGO acceleration, build locally with CGO_ENABLED=1
|
|
|
|
|
- CGO_ENABLED=0
|
2022-09-27 16:55:23 -03:00
|
|
|
release:
|
|
|
|
|
# Repo in which the release will be created.
|
|
|
|
|
# Default is extracted from the origin remote URL or empty if its private hosted.
|
|
|
|
|
github:
|
2025-07-20 08:38:06 +00:00
|
|
|
owner: luxfi
|
2024-01-02 20:55:14 +01:00
|
|
|
name: netrunner
|