Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Commit

Permalink
Added freebsd builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaskin committed Aug 12, 2017
1 parent 8103ae4 commit 50953f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down Expand Up @@ -73,4 +73,4 @@ if [[ "$SKIP_UPLOAD" != "true" ]]; then
--file "$f" \
--replace
done
fi
fi

0 comments on commit 50953f1

Please sign in to comment.