diff options
author | Mansour Behabadi <57921115+ncmans@users.noreply.github.com> | 2019-12-20 23:16:23 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-20 23:16:23 +1100 |
commit | d0e424144749a9748c5de4f0888d8e8ec5647b78 (patch) | |
tree | 664323313c1325d6703ba3b9f660ee2c74fa57ac /.travis | |
parent | 91a8e3bb23b879e8312f848ffef560299bcbe43b (diff) |
packaging: Set default release channel to stable for gh releases (#7399)
* packaging: Set default release channel to stable for gh releases
* Leave kickstart files alone
* Update .travis/create_artifacts.sh
Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
Co-authored-by: Mansour Behabadi <mansour@oxplot.com>
Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
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)" |