From 648d37a6addb8b05ee006db728fbf8767be5564d Mon Sep 17 00:00:00 2001 From: David Gidwani Date: Sat, 14 Jan 2017 13:48:04 -0500 Subject: [PATCH] updated .travis.yml to skip ghr if TRAVIS_TAG is unset --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cad9cfa..a150ec0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,4 +14,4 @@ script: - $HOME/gopath/bin/goveralls -service=travis-ci after_success: - make build - - ghr --username darvid --token $GITHUB_TOKEN --replace $TRAVIS_TAG dist/ + - if [[ -n $TRAVIS_TAG ]]; then ghr --username darvid --token $GITHUB_TOKEN --replace $TRAVIS_TAG dist/; fi