diff --git a/release.sh b/release.sh index 36b645af..30f3e752 100755 --- a/release.sh +++ b/release.sh @@ -39,7 +39,7 @@ echo "1. Download the binary for your platform below" | tee -a build/release-not echo "2. Copy it to the directory with your books" | tee -a build/release-notes.md echo "3. Run it" | tee -a build/release-notes.md -for GOOS in linux windows darwin; do +for GOOS in linux windows darwin freebsd; do for GOARCH in amd64 386; do echo "Building BookBrowser $APP_VERSION for $GOOS $GOARCH" GOOS=$GOOS GOARCH=$GOOARCH go build -ldflags "-X main.curversion=$APP_VERSION" -o "build/BookBrowser-$GOOS-$(echo $GOARCH|sed 's/386/32bit/g'|sed 's/amd64/64bit/g')$(echo $GOOS|sed 's/windows/.exe/g'|sed 's/linux//g'|sed 's/darwin//g')" @@ -73,4 +73,4 @@ if [[ "$SKIP_UPLOAD" != "true" ]]; then --file "$f" \ --replace done -fi \ No newline at end of file +fi