make release-1.10.0-dry-run fails finding remote branch (#9741)

This commit is contained in:
Eric Van Norman 2021-05-13 17:11:46 -05:00 committed by GitHub
parent ddd2221adc
commit eb7e128562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -138,7 +138,10 @@ create_branch_for_new_release() {
s/^doc_branch_name: .*$/doc_branch_name: ${NEW_RELEASE_BRANCH}/;
" data/args.yml
UPDATE_BRANCH=${NEW_RELEASE_BRANCH} make update-common
# Can only do an update-common against a non dry-run branch
if [ "${DRY_RUN}" != '1' ]; then
UPDATE_BRANCH=${NEW_RELEASE_BRANCH} make update-common
fi
if [[ $(git status --porcelain) ]]; then
git add -A