Skip to content

Commit

Permalink
Fixed quotations for creating pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophShyper committed Feb 23, 2021
1 parent f84e98a commit d6c72bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ echo -e "\nChecking if pull request exists..."
PR_NUMBER=$(hub pr list --head "${SOURCE_BRANCH}" --format '%I')
if [[ -z "${PR_NUMBER}" ]]; then
echo -e "\nCreating pull request"
ARG_LIST=$(echo "${ARG_LIST}" | sed 's/\`/\\`/g')
COMMAND="hub pull-request -b ${TARGET_BRANCH} -h ${SOURCE_BRANCH} --no-edit ${ARG_LIST}"
echo -e "Running: ${COMMAND}"
URL=$(sh -c "${COMMAND}")
Expand Down

0 comments on commit d6c72bf

Please sign in to comment.