From 590198af7dd743602590e52365913287958e8115 Mon Sep 17 00:00:00 2001 From: Oliver Date: Sat, 15 Oct 2016 17:55:18 -0400 Subject: [PATCH] fix circle --- circle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 52e8b701..d49b0aee 100644 --- a/circle.yml +++ b/circle.yml @@ -27,7 +27,7 @@ deployment: commands: - go get github.com/mitchellh/gox - go get github.com/tcnksm/ghr - - echo "GO_LDFLAGS: $GO_LDFLAGS" + - echo $GO_LDFLAGS - gox --osarch="darwin/amd64" -ldflags "$GO_LDFLAGS" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$CIRCLE_TAG.darwin-amd64.tar.gz redis_exporter && rm redis_exporter && cd .. - gox --osarch="darwin/386" -ldflags "$GO_LDFLAGS" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$CIRCLE_TAG.darwin-386.tar.gz redis_exporter && rm redis_exporter && cd .. - gox --osarch="linux/amd64" -ldflags "$GO_LDFLAGS" -output "dist/redis_exporter" && cd dist && tar -cvzf redis_exporter-$CIRCLE_TAG.linux-amd64.tar.gz redis_exporter && rm redis_exporter && cd ..