diff options
author | Paul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com> | 2019-09-12 18:21:29 +0300 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-09-12 17:21:29 +0200 |
commit | 7684d8628fccf3333284caed564459e50e46420c (patch) | |
tree | cf1090b41d1cf0e3b5aa25df3817e1679493e736 /.travis.yml | |
parent | eb75035b0d923b6fbc5c9a34ddeab0375a85d526 (diff) |
netdata/packaging: no need to overengineer with these checks. The stage is triggered only on specific keyword, that should be enough (#6834)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 8d9cea2cad..f92ecf7123 100644 --- a/.travis.yml +++ b/.travis.yml @@ -521,8 +521,7 @@ jobs: - name: Trigger .RPM and .DEB package generation before_script: post_message "TRAVIS_MESSAGE" "Starting RPM and DEB package generation for release" "${NOTIF_CHANNEL}" script: - - if [[ -z "${GIT_TAG}" ]] || [[ ! "${GIT_TAG}" = "$(git tag --points-at)" ]]; then post_message "TRAVIS_MESSAGE" "<!here> I Did not find a valid GIT_TAG to proceed with stable packaging" "${NOTIF_CHANNEL}" && exit 1; fi; - - if [[ -n "${GIT_TAG}" ]] && [[ "${GIT_TAG}" = "$(git tag --points-at)" ]]; then .travis/trigger_package_generation.sh; fi; + - .travis/trigger_package_generation.sh after_failure: post_message "TRAVIS_MESSAGE" "<!here> Stable release package generation produced errors" "${NOTIF_CHANNEL}" git: depth: false |