diff options
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/create_artifacts.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis/create_artifacts.sh b/.travis/create_artifacts.sh index 8704811b69..ce764469f9 100755 --- a/.travis/create_artifacts.sh +++ b/.travis/create_artifacts.sh @@ -31,6 +31,13 @@ echo "--- Initialize git configuration ---" git checkout "${1-master}" git pull +if [ "${RELEASE_CHANNEL}" == stable ]; then + echo "--- Set default release channel to stable ---" + sed -i 's/^RELEASE_CHANNEL="nightly" *#/RELEASE_CHANNEL="stable" #/' \ + netdata-installer.sh \ + packaging/makeself/install-or-update.sh +fi + # Everything from this directory will be uploaded to GCS mkdir -p artifacts BASENAME="netdata-$(git describe)" |