diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8abd81cb9..e4dca7478 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -12,11 +12,7 @@ builds: - arm - amd64 - arm64 - - mips - 386 - gomips: - - hardfloat - - softfloat ignore: - goos: windows goarch: arm64 @@ -30,6 +26,26 @@ builds: tags: - load_wgnt_from_rsrc + - id: netbird-static + dir: client + binary: netbird + env: [CGO_ENABLED=0] + goos: + - linux + goarch: + - mips + - mipsle + - mips64 + - mips64le + gomips: + - hardfloat + - softfloat + ldflags: + - -s -w -X github.com/netbirdio/netbird/version.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}} -X main.builtBy=goreleaser + mod_timestamp: '{{ .CommitTimestamp }}' + tags: + - load_wgnt_from_rsrc + - id: netbird-mgmt dir: management env: @@ -67,6 +83,7 @@ builds: archives: - builds: - netbird + - netbird-static nfpms: @@ -359,4 +376,4 @@ uploads: mode: archive target: https://pkgs.wiretrustee.com/yum/{{ .Arch }}{{ if .Arm }}{{ .Arm }}{{ end }} username: dev@wiretrustee.com - method: PUT \ No newline at end of file + method: PUT