From 1c8071293dc4c87e92963316eff7c2cc6143fa86 Mon Sep 17 00:00:00 2001 From: afeiszli Date: Tue, 23 Nov 2021 07:54:50 -0500 Subject: [PATCH 1/2] fixing binary versions --- netclient/versioninfo.json | 10 +++++----- scripts/build-binaries.sh | 24 ++++++++++++------------ 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/netclient/versioninfo.json b/netclient/versioninfo.json index f21411a5..3c4f7ecd 100644 --- a/netclient/versioninfo.json +++ b/netclient/versioninfo.json @@ -2,14 +2,14 @@ "FixedFileInfo": { "FileVersion": { "Major": 0, - "Minor": 8, - "Patch": 5, + "Minor": 9, + "Patch": 0, "Build": 0 }, "ProductVersion": { "Major": 0, - "Minor": 8, - "Patch": 5, + "Minor": 9, + "Patch": 0, "Build": 0 }, "FileFlagsMask": "3f", @@ -29,7 +29,7 @@ "OriginalFilename": "", "PrivateBuild": "", "ProductName": "Netclient", - "ProductVersion": "v0.8.5.0", + "ProductVersion": "v0.9.0.0", "SpecialBuild": "" }, "VarFileInfo": { diff --git a/scripts/build-binaries.sh b/scripts/build-binaries.sh index a5ba9771..aef18e45 100755 --- a/scripts/build-binaries.sh +++ b/scripts/build-binaries.sh @@ -1,14 +1,14 @@ #!/bin/bash cd netclient -env GOOS=linux GOARCH=amd64 go build -o build/netclient main.go -env GOOS=linux GOARCH=arm GOARM=5 go build -o build/netclient-arm5 main.go -env GOOS=linux GOARCH=arm GOARM=6 go build -o build/netclient-arm6 main.go -env GOOS=linux GOARCH=arm GOARM=7 go build -o build/netclient-arm7 main.go -env GOOS=linux GOARCH=arm64 go build -o build/netclient-arm64 main.go -env GOOS=linux GOARCH=mipsle go build -ldflags "-s -w" -o build/netclient-mipsle main.go && upx build/netclient-mipsle -env GOOS=freebsd GOARCH=amd64 go build -o build/netclient-freebsd main.go -env GOOS=freebsd GOARCH=arm GOARM=5 go build -o build/netclient-freebsd-arm5 main.go -env GOOS=freebsd GOARCH=arm GOARM=6 go build -o build/netclient-freebsd-arm6 main.go -env GOOS=freebsd GOARCH=arm GOARM=7 go build -o build/netclient-freebsd-arm7 main.go -env GOOS=freebsd GOARCH=arm64 go build -o build/netclient-freebsd-arm64 main.go -env GOOS=darwin GOARCH=amd64 go build -o build/netclient-darwmin main.go +env CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/netclient main.go +env CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=5 go build -o build/netclient-arm5 main.go +env CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=6 go build -o build/netclient-arm6 main.go +env CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o build/netclient-arm7 main.go +env CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o build/netclient-arm64 main.go +env CGO_ENABLED=0 GOOS=linux GOARCH=mipsle go build -ldflags "-s -w" -o build/netclient-mipsle main.go && upx build/netclient-mipsle +env CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go build -o build/netclient-freebsd main.go +env CGO_ENABLED=0 GOOS=freebsd GOARCH=arm GOARM=5 go build -o build/netclient-freebsd-arm5 main.go +env CGO_ENABLED=0 GOOS=freebsd GOARCH=arm GOARM=6 go build -o build/netclient-freebsd-arm6 main.go +env CGO_ENABLED=0 GOOS=freebsd GOARCH=arm GOARM=7 go build -o build/netclient-freebsd-arm7 main.go +env CGO_ENABLED=0 GOOS=freebsd GOARCH=arm64 go build -o build/netclient-freebsd-arm64 main.go +env CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o build/netclient-darwmin main.go From 46e17b29b31616debc4d676aca88250885054fc2 Mon Sep 17 00:00:00 2001 From: afeiszli Date: Tue, 23 Nov 2021 08:04:37 -0500 Subject: [PATCH 2/2] fixing binary versions --- scripts/netclient-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/netclient-install.sh b/scripts/netclient-install.sh index 5e58e1ff..fd779af0 100755 --- a/scripts/netclient-install.sh +++ b/scripts/netclient-install.sh @@ -164,7 +164,7 @@ case $(uname | tr '[:upper:]' '[:lower:]') in dist=netclient-freebsd-arm64 ;; armv7l) - dist=netclient-freebsd-armv7 + dist=netclient-freebsd-arm7 ;; arm*) dist=netclient-freebsd-$CPU_ARCH