ci: re-enable publishing master artifacts (#14973)

This commit is contained in:
Chuck Jazdzewski 2017-03-06 18:03:38 -08:00 committed by GitHub
parent 3651d8d673
commit b7e76cc2e1
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ function publishRepo {
BUILD_REPO="${COMPONENT}-builds"
REPO_DIR="tmp/${BUILD_REPO}"
if [ -n "$CREATE_REPOS" ]; then
if [ -n "${CREATE_REPOS:-}" ]; then
curl -u "$ORG:$TOKEN" https://api.github.com/user/repos \
-d '{"name":"'$BUILD_REPO'", "auto_init": true}'
fi