Fix target paths for artifacts uploading

This commit is contained in:
Igor Gassmann 2018-03-09 15:18:08 -05:00
parent 0ba48ab722
commit f574070480

View file

@ -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}$(if env | grep -q ^TRAVIS_TAG=; then echo _tag-${TRAVIS_TAG}; fi)
- /app/commit-${TRAVIS_COMMIT:0:7}_build-${TRAVIS_BUILD_NUMBER}$([ ! -z ${TRAVIS_TAG} ] && echo "_tag-${TRAVIS_TAG}")