@cryptotaxi247 / netdata-1 / commits / 7684d8628

netdata/packaging: no need to overengineer with these checks. The stage is triggered only on specific keyword, that should be enough (#6834)

Paul Emm. Katsoulakis committed Sep 12, 2019 at 18:21 UTC 7684d8628fccf3333284caed564459e50e46420c
1 file changed +1 -2
.travis.yml
+1 -2
@@ -521,8 +521,7 @@ jobs:
521 - name: Trigger .RPM and .DEB package generation
522 before_script: post_message "TRAVIS_MESSAGE" "Starting RPM and DEB package generation for release" "${NOTIF_CHANNEL}"
523 script:
524 - - 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;
525 - - if [[ -n "${GIT_TAG}" ]] && [[ "${GIT_TAG}" = "$(git tag --points-at)" ]]; then .travis/trigger_package_generation.sh; fi;
524 + - .travis/trigger_package_generation.sh
525 after_failure: post_message "TRAVIS_MESSAGE" "<!here> Stable release package generation produced errors" "${NOTIF_CHANNEL}"
526 git:
527 depth: false