Circle script: unset GOGC so it uses default

This commit is contained in:
Cameron Sparr 2016-02-21 16:00:41 -07:00 committed by Michele Fadda
parent 1b6bc88c14
commit 289dcabad0
1 changed files with 1 additions and 2 deletions

View File

@ -72,8 +72,7 @@ mv $GOPATH/bin/telegraf $CIRCLE_ARTIFACTS
eval "git describe --exact-match HEAD" eval "git describe --exact-match HEAD"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
# Turn GOGC back on for making packages unset GOGC
export GOGC=100
tag=$(git describe --exact-match HEAD) tag=$(git describe --exact-match HEAD)
echo $tag echo $tag
exit_if_fail ./scripts/build.py --package --version=$tag --platform=linux --arch=all --upload exit_if_fail ./scripts/build.py --package --version=$tag --platform=linux --arch=all --upload