Fix release binaries for mac

This commit is contained in:
Alexey Khit
2023-01-16 00:40:02 +03:00
parent cecbe4166c
commit d23d2a7eff
+2 -2
View File
@@ -63,12 +63,12 @@ jobs:
export GOOS=darwin
export GOARCH=amd64
export FILENAME=go2rtc_mac_amd64.zip
export FILENAME=artifacts/go2rtc_mac_amd64.zip
go build -ldflags "-s -w" -trimpath && 7z a -mx9 -sdel "$FILENAME" go2rtc
export GOOS=darwin
export GOARCH=arm64
export FILENAME=go2rtc_mac_arm64.zip
export FILENAME=artifacts/go2rtc_mac_arm64.zip
go build -ldflags "-s -w" -trimpath && 7z a -mx9 -sdel "$FILENAME" go2rtc
parallel --jobs $(nproc) "upx {}" ::: artifacts/go2rtc_linux_*