Skip to content

Commit

Permalink
Release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shimberger committed Nov 23, 2016
1 parent 7f1e928 commit 1d7bfb8
Show file tree
Hide file tree
Showing 2 changed files with 100 additions and 51 deletions.
141 changes: 95 additions & 46 deletions bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions scripts/prep_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ function make_release() {
NAME=$1
GOOS=$2
GOARCH=$3
VERSION=$4
SUFFIX=$4
RELEASE_PATH=build/gohls-$NAME-${VERSION}
RELEASE_FILE=gohls-$NAME-${VERSION}.tar.gz
mkdir $RELEASE_PATH
cp README.md $RELEASE_PATH
cp LICENSE.txt $RELEASE_PATH
go build -o $RELEASE_PATH/gohls *.go
go build -o $RELEASE_PATH/gohls${SUFFIX} *.go
PREV_WD=$(PWD)
cd $RELEASE_PATH
tar cvfz ../$RELEASE_FILE .
cd ../../
}

make_release "osx" "darwin" "amd64" $VERSION
make_release "linux-amd64" "linux" "amd64" $VERSION
make_release "windows-amd64" "windows" "amd64" $VERSION
make_release "osx" "darwin" "amd64" ""
make_release "linux-amd64" "linux" "amd64" ""
make_release "windows-amd64" "windows" "amd64" ".exe"

0 comments on commit 1d7bfb8

Please sign in to comment.