Merge pull request #975 from PeterDaveHello/fix-generate-stackbrew-library.sh

Fix condition to set auto PR committer/author
This commit is contained in:
Peter Dave Hello 2019-01-21 23:44:11 +08:00 committed by GitHub
commit cc673d66b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ if images_updated "${COMMIT_RANGE}"; then
permission_check
# Set Git User Info
[ -z "$(git config user.name)" ] && [ -z "$GIT_AUTHOR_NAME" ] && setup_git_author
[ -z "$GIT_AUTHOR_NAME" ] && setup_git_author
info "Cloning..."
git clone --depth 50 "https://github.com/${UPSTREAM_SLUG}.git" ${gitpath} 2> /dev/null