SpoofDPI/make-releases.sh

8 lines
404 B
Bash
Raw Normal View History

2022-01-12 06:42:20 +00:00
#!/bin/bash
2024-07-22 12:06:29 +00:00
VERSION="v0.10.0"
2022-03-06 08:06:58 +00:00
2024-07-22 12:06:29 +00:00
GOOS=darwin GOARCH=amd64 go build -ldflags="-w -s -X main.VERSION=${VERSION}" github.com/xvzc/SpoofDPI/cmd/spoof-dpi && tar -zcvf spoof-dpi-osx.tar.gz ./spoof-dpi && rm -rf ./spoof-dpi
GOOS=linux GOARCH=amd64 go build -ldflags="-w -s -X main.VERSION=${VERSION}" github.com/xvzc/SpoofDPI/cmd/spoof-dpi && tar -zcvf spoof-dpi-linux.tar.gz ./spoof-dpi && rm -rf ./spoof-dpi