Skip to content

Commit

Permalink
Add log
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat committed Oct 23, 2023
1 parent dff01ed commit d47a68d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ do
message=${message_template//%v/${version}}
git -C ${tmpdir} commit -m "${message}"

echo "Pushing branch"
if ! ${push_prefix} git -C ${tmpdir} push ${force_push} origin ${head_branch}
then
# Allow to fetch existing PR branch
Expand All @@ -123,6 +124,7 @@ do
echo "- Reusing existing branch"
fi

echo "Opening PR"
if [ $(cd ${tmpdir}; gh pr list --head ${head_branch} | wc -l) -gt 0 ]
then
echo "- PR is already open"
Expand Down

0 comments on commit d47a68d

Please sign in to comment.