From 58b482856cf37b0519e516ab8dc1105ba958f8b2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 26 Apr 2019 18:22:17 +0200 Subject: Adding upstream version 1.14.0. Signed-off-by: Daniel Baumann --- .travis/nightlies.sh | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to '.travis/nightlies.sh') diff --git a/.travis/nightlies.sh b/.travis/nightlies.sh index 0d9fe036a..188b37da0 100755 --- a/.travis/nightlies.sh +++ b/.travis/nightlies.sh @@ -1,11 +1,9 @@ #!/bin/bash # -# This is the nightlies orchastration script -# It runs the following activities in order: -# 1) Generate changelog -# 2) Build docker images -# 3) Publish docker images -# 4) Generate the rest of the artifacts (Source code .tar.gz file and makeself binary generation) +# This is the nightly changelog generation script +# It is responsible for two major activities: +# 1) Update packaging/version with the current nightly version +# 2) Generate the changelog for the mentioned version # # Copyright: SPDX-License-Identifier: GPL-3.0-or-later # @@ -34,14 +32,12 @@ if [ "${COMMITS_SINCE_RELEASE}" == "${PREVIOUS_NIGHTLY_COUNT}" ]; then exit 0 fi -echo "--- Running Changelog generation ---" -.travis/generate_changelog.sh "${LAST_TAG}" "${COMMITS_SINCE_RELEASE}" || echo "Changelog generation has failed, this is a soft error, process continues" - -echo "--- Build && publish docker images ---" -# Do not fail artifacts creation if docker fails. We will be restructuring this on a follow up PR -packaging/docker/build.sh && packaging/docker/publish.sh || echo "Failed to build and publish docker images" +if [ ! "${TRAVIS_REPO_SLUG}" == "netdata/netdata" ]; then + echo "Beta mode -- nothing to do for ${TRAVIS_REPO_SLUG} on the nightlies script, bye" + exit 0 +fi -echo "--- Build artifacts ---" -.travis/create_artifacts.sh +echo "--- Running Changelog generation ---" +.travis/generate_changelog_for_nightlies.sh "${LAST_TAG}" "${COMMITS_SINCE_RELEASE}" || echo "Changelog generation has failed, this is a soft error, process continues" exit "${FAIL}" -- cgit v1.2.3