From a8e0e112cfe111f87cd70641cac991556a085f7c Mon Sep 17 00:00:00 2001 From: Igor Gassmann Date: Fri, 9 Mar 2018 10:26:34 -0500 Subject: [PATCH] Remove -tag from path if no tag for build directory --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 65c1d914e..169d565f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,4 +47,4 @@ addons: paths: - $(git ls-files -o dist/{*.dmg,*.exe,*.AppImage} | tr "\n" ":") target_paths: - - /app/commit-${TRAVIS_COMMIT:0:7}_build-${TRAVIS_BUILD_NUMBER}_tag-${TRAVIS_TAG} \ No newline at end of file + - /app/commit-${TRAVIS_COMMIT:0:7}_build-${TRAVIS_BUILD_NUMBER}$(if env | grep -q ^TRAVIS_TAG=; then echo _tag-${TRAVIS_TAG}; fi) \ No newline at end of file