Skip to content

Commit

Permalink
release script
Browse files Browse the repository at this point in the history
  • Loading branch information
balpha committed Apr 3, 2021
1 parent c131fe6 commit aab2a42
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
release/
14 changes: 14 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
rm -rf release

mkdir -p release/linux
mkdir -p release/windows
mkdir -p release/mac

GOOS=linux GOARCH=amd64 go build -o release/linux/unicornify
GOOS=windows GOARCH=amd64 go build -o release/windows/unicornify.exe
GOOS=darwin GOARCH=amd64 go build -o release/mac/unicornify

zip -j release/unicornify-linux.zip release/linux/*
zip -j release/unicornify-windows.zip release/windows/*
zip -j release/unicornify-mac.zip release/mac/*

0 comments on commit aab2a42

Please sign in to comment.