set -e

cd dp
version=$(cat .version)
echo -e "v$version" > release_name
echo -e "v$version" > release_tag

git log `git describe --tags --abbrev=0`..HEAD --oneline > release_body

set -ex

cd dp
version=$(cat .version)
echo -e "v$version" > release_name
echo -e "v$version" > release_tag

git log `git describe --tags --abbrev=0`..HEAD --oneline > release_body
cat $release_body

mkdir -p build/
GOOS=linux GOARCH=amd64 go build -o build/dp_linux_amd64
GOOS=darwin GOARCH=amd64 go build -o build/dp_darwin_amd64
GOOS=windows GOARCH=amd64 go build -o build/dp_windows_amd64.exe

Build for linux, dawrin and windows
Build for linux, dawrin and windows
