Skip to content

Commit

Permalink
Update release-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
llychao authored Nov 20, 2020
1 parent 742079b commit 75a4b0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions release-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ mkdir "Releases"

# 【darwin/amd64】
echo "start build darwin/amd64 ..."
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o ./Releases/m3u8-downloader-v1.1.0-darwin-amd64
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o ./Releases/m3u8-darwin-amd64 m3u8-downloader.go

# 【linux/amd64】
echo "start build linux/amd64 ..."
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./Releases/m3u8-downloader-v1.1.0-linux-amd64
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ./Releases/m3u8-linux-amd64 m3u8-downloader.go

# 【windows/amd64】
echo "start build windows/amd64 ..."
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ./Releases/m3u8-downloader-v1.1.0-windows-amd64.exe
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o ./Releases/m3u8-windows-amd64.exe m3u8-downloader.go

echo "Congratulations,all build success!"

0 comments on commit 75a4b0b

Please sign in to comment.