Skip to content

Commit

Permalink
Make windows binary in release script
Browse files Browse the repository at this point in the history
This may or may not work very well. Some code around exit codes only
works on Unix IIRC.
  • Loading branch information
michaelsauter committed May 28, 2015
1 parent 95a577d commit e129d5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
crane_darwin_amd64
crane_linux_amd64
crane_linux_386
crane_windows_amd64.exe
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo "Update contributors..."
git contributors | awk '{for (i=2; i<NF; i++) printf $i " "; print $NF}' > CONTRIBUTORS

echo "Build binary..."
gox -osarch="darwin/amd64" -osarch="linux/amd64" -osarch="linux/386"
gox -osarch="darwin/amd64" -osarch="linux/amd64" -osarch="linux/386" -osarch="windows/amd64"

echo "Update repository..."
git add crane/cmd.go download.sh CONTRIBUTORS
Expand Down

0 comments on commit e129d5f

Please sign in to comment.