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

Commit

Permalink
Fix FreeBSD release filename
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaskin committed Aug 31, 2017
1 parent 0a3d7d1 commit 219005d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ echo "3. Run it" | tee -a build/release-notes.md
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')"
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'|sed 's/freebsd//g')"
done
done

Expand Down

0 comments on commit 219005d

Please sign in to comment.