Skip to content

Commit b8d2b0b

Browse files
committed
update template
1 parent 34e1047 commit b8d2b0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hermetic_build/library_generation/owlbot/templates/java_library/.github/scripts/update_generation_config.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ pr_num=$(gh pr list -s open -H "${current_branch}" -q . --json number | jq ".[]
102102
# branch; otherwise checkout the pull request.
103103
if [ -z "${pr_num}" ]; then
104104
git checkout -b "${current_branch}"
105+
# Push the current branch to remote so that we can
106+
# compare the commits later.
107+
git push -u origin "${current_branch}"
105108
else
106109
gh pr checkout "${pr_num}"
107110
fi

0 commit comments

Comments
 (0)