Skip to content

Commit

Permalink
proper version
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-nyt committed Sep 16, 2016
1 parent 5a3dc51 commit b9a2814
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ machine:
environment:
IMPORT_PATH: "github.com/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME"
COVERAGE_PROFILE: "/home/ubuntu/coverage.out"

EXPORTER_VERSION: "0.5"

test:
pre:
Expand All @@ -23,12 +23,12 @@ deployment:
commands:
- go get github.com/mitchellh/gox
- go get github.com/tcnksm/ghr
- gox --osarch="darwin/amd64" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$VERSION.darwin-amd64.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="darwin/386" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$VERSION.darwin-386.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="linux/amd64" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$VERSION.linux-amd64.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="linux/386" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$VERSION.linux-386.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="netbsd/amd64" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$VERSION.netbsd-amd64.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="netbsd/386" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$VERSION.netbsd-386.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="windows/amd64" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$VERSION.windows-amd64.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="windows/386" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$VERSION.windows-386.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="darwin/amd64" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$EXPORTER_VERSION.darwin-amd64.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="darwin/386" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$EXPORTER_VERSION.darwin-386.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="linux/amd64" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$EXPORTER_VERSION.linux-amd64.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="linux/386" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$EXPORTER_VERSION.linux-386.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="netbsd/amd64" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$EXPORTER_VERSION.netbsd-amd64.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="netbsd/386" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$EXPORTER_VERSION.netbsd-386.tar.gz redis_exporter && rm redis_exporter && cd ..
- gox --osarch="windows/amd64" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$EXPORTER_VERSION.windows-amd64.tar.gz redis_exporter.exe && rm redis_exporter.exe && cd ..
- gox --osarch="windows/386" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$EXPORTER_VERSION.windows-386.tar.gz redis_exporter.exe && rm redis_exporter.exe && cd ..
- ghr -t $GITHUB_TOKEN -u $CIRCLE_PROJECT_USERNAME -r $CIRCLE_PROJECT_REPONAME --replace `git describe --tags` dist/

0 comments on commit b9a2814

Please sign in to comment.