Skip to content

Commit

Permalink
Update release packaging, bump to 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoene committed Feb 25, 2014
1 parent bc8e5e0 commit 020bf67
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=0.1.0
VERSION=0.1.1

default: fmt run

Expand All @@ -9,14 +9,14 @@ test:
go test -cover

release:
mkdir -p bin dist
mkdir -p dist

GOOS=darwin GOARCH=amd64 go build -o bin/statsd
tar zcvf dist/statsd-${VERSION}.darwin-amd64.tar.gz bin/statsd
rm -f bin/statsd
mkdir -p statsd-${VERSION}.darwin-amd64/bin
GOOS=darwin GOARCH=amd64 go build -o statsd-${VERSION}.darwin-amd64/bin/statsd
tar zcvf dist/statsd-${VERSION}.darwin-amd64.tar.gz statsd-${VERSION}.darwin-amd64
rm -rf statsd-${VERSION}.darwin-amd64

GOOS=linux GOARCH=amd64 go build -o bin/statsd
tar zcvf dist/statsd-${VERSION}.linux-amd64.tar.gz bin/statsd
rm -f bin/statsd

rmdir bin
mkdir -p statsd-${VERSION}.linux-amd64/bin
GOOS=linux GOARCH=amd64 go build -o statsd-${VERSION}.linux-amd64/bin/statsd
tar zcvf dist/statsd-${VERSION}.linux-amd64.tar.gz statsd-${VERSION}.linux-amd64
rm -rf statsd-${VERSION}.linux-amd64

0 comments on commit 020bf67

Please sign in to comment.