Upload as nightly builds if PACKAGE set

This commit is contained in:
Daniel Nelson 2017-08-07 17:16:34 -07:00
parent 1dcca00e3d
commit c1c85f4330
1 changed files with 1 additions and 1 deletions

View File

@ -87,6 +87,6 @@ elif [ -n "${PACKAGE}" ]; then
# install boto & rpm (packaging & AWS dependencies)
exit_if_fail sudo apt-get install -y rpm python-boto
unset GOGC
exit_if_fail ./scripts/build.py --package --platform=all --arch=all
exit_if_fail ./scripts/build.py --nightly --package --platform=all --arch=all --upload --bucket=dl.influxdata.com/telegraf/nightlies
mv build $CIRCLE_ARTIFACTS
fi