switch back to old builds names format; delete files before build
This commit is contained in:
parent
040db92caa
commit
79e2b5c986
18
ci.sh
18
ci.sh
|
@ -2,15 +2,17 @@
|
||||||
|
|
||||||
. ./package.env
|
. ./package.env
|
||||||
|
|
||||||
GOOS=linux GOARCH=386 go build -o "bfile_cli.$VERSION.linux.i386" -ldflags "-s -w -X main.version=$VERSION" . &
|
rm $(find . -type f | grep -E ^\./bfile_cli.\*)
|
||||||
GOOS=linux GOARCH=amd64 go build -o "bfile_cli.$VERSION.linux.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
|
|
||||||
GOOS=linux GOARCH=arm64 go build -o "bfile_cli.$VERSION.linux.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
|
|
||||||
|
|
||||||
GOOS=windows GOARCH=386 go build -o "bfile_cli.$VERSION.windows.i386.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=linux GOARCH=386 go build -o "bfile_cli.linux.i386" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=windows GOARCH=amd64 go build -o "bfile_cli.$VERSION.windows.amd64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=linux GOARCH=amd64 go build -o "bfile_cli.linux.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=windows GOARCH=arm64 go build -o "bfile_cli.$VERSION.windows.arm64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=linux GOARCH=arm64 go build -o "bfile_cli.linux.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
|
||||||
GOOS=darwin GOARCH=amd64 go build -o "bfile_cli.$VERSION.darwin.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=windows GOARCH=386 go build -o "bfile_cli.windows.i386.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
GOOS=darwin GOARCH=arm64 go build -o "bfile_cli.$VERSION.darwin.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
|
GOOS=windows GOARCH=amd64 go build -o "bfile_cli.windows.amd64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
GOOS=windows GOARCH=arm64 go build -o "bfile_cli.windows.arm64.exe" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
|
||||||
|
GOOS=darwin GOARCH=amd64 go build -o "bfile_cli.darwin.amd64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
GOOS=darwin GOARCH=arm64 go build -o "bfile_cli.darwin.arm64" -ldflags "-s -w -X main.version=$VERSION" . &
|
||||||
|
|
||||||
wait
|
wait
|
Loading…
Reference in New Issue