From a3ee45b79ea66f83fcfa16cd91a4251ff769b4a5 Mon Sep 17 00:00:00 2001 From: Ovidiu Ionescu Date: Sun, 14 May 2023 13:06:29 +0300 Subject: [PATCH] Add mipsle build to enable netbird for devices such as EdgeRouter X (#842) Add mipsle build and split build for mipsle and mips archs. Removed yum and debian packages for these archs. --- .goreleaser.yaml | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) 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