diff --git a/.travis.yml b/.travis.yml index 66a7707..99939b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ before_deploy: - make build GOOS=windows GOARCH=amd64 - make build GOOS=linux GOARCH=amd64 - make build GOOS=darwin GOARCH=amd64 + - echo "Releasing version $(git describe --always)" deploy: provider: releases skip_cleanup: true @@ -26,7 +27,7 @@ deploy: file_glob: true file: - cmd/ssl-checker/bin/ssl-checker-v*-linux-amd64 - - cmd/ssl-checker/bin/ssl-checker-v*-windows-amd64 + - cmd/ssl-checker/bin/ssl-checker-v*-windows-amd64.exe - cmd/ssl-checker/bin/ssl-checker-v*-darwin-amd64 on: repo: bitnami-labs/healthcheck-tools diff --git a/cmd/ssl-checker/bin/ssl-checker b/cmd/ssl-checker/bin/ssl-checker new file mode 100755 index 0000000..892ef8a Binary files /dev/null and b/cmd/ssl-checker/bin/ssl-checker differ diff --git a/scripts/go.mk b/scripts/go.mk index 6c09db5..0e9ac3f 100644 --- a/scripts/go.mk +++ b/scripts/go.mk @@ -3,7 +3,7 @@ ROOT_PKG_DIR=${GOPATH}/src/$(ROOT_PKG) # For creating the proper filename for later uploading with Travis EXECUTABLE_FLAG= -VERSION=$(shell git describe --always --long --dirty) +VERSION=$(shell git describe --always) ifdef GOOS ifdef GOARCH EXECUTABLE_FLAG:=-o $(TOOL)-v$(VERSION)-$(GOOS)-$(GOARCH)