Skip to content

Commit

Permalink
add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
jozsefsallai committed Feb 15, 2020
1 parent 8412a77 commit 4d800cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
vendor/
*.exe
/.release/
10 changes: 10 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

if ! [ -x "$(command -v gox)" ]; then
echo 'gox not found, please install it: https://github.com/mitchellh/gox'
exit 1
fi

mkdir -p .release
rm -r .release/*
gox -os="linux darwin windows openbsd" -arch="386 amd64 arm arm64" -output=".release/{{.Dir}}_{{.OS}}_{{.Arch}}"

0 comments on commit 4d800cc

Please sign in to comment.