Merge branch '2.2.x'

pull/20754/head
Madhura Bhave 5 years ago
commit 71f7bd6ce6

@ -1,9 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
commit_message=$( cat commit-details/message ) if [[ -f commit-details/message ]]; then
if [[ ${commit_message} != "" ]]; then
curl \ curl \
-s \ -s \
-u ${GITHUB_USERNAME}:${GITHUB_PASSWORD} \ -u ${GITHUB_USERNAME}:${GITHUB_PASSWORD} \

@ -28,6 +28,7 @@ if [[ ${existing_upgrade_issues} = "" ]]; then
git add ci/images/get-docker-url.sh > /dev/null git add ci/images/get-docker-url.sh > /dev/null
commit_message="Upgrade to Docker $latest_version in CI" commit_message="Upgrade to Docker $latest_version in CI"
git commit -m "$commit_message" > /dev/null git commit -m "$commit_message" > /dev/null
popd
echo ${commit_message} > commit-details/message echo ${commit_message} > commit-details/message
else else
echo "Pull request already exists." echo "Pull request already exists."

Loading…
Cancel
Save