Merge pull request #29160 from therc/patch-2

Automatic merge from submit-queue

Make clear where cherrypick PRs are being created
This commit is contained in:
k8s-merge-robot 2016-07-19 10:41:21 -07:00 committed by GitHub
commit e5c858919d

View File

@ -29,7 +29,7 @@ declare -r STARTINGBRANCH=$(git symbolic-ref --short HEAD)
declare -r REBASEMAGIC="${KUBE_ROOT}/.git/rebase-apply"
if [[ -z ${GITHUB_USER:-} ]]; then
echo "Please export GITHUB_USER=<your-user>"
echo "Please export GITHUB_USER=<your-user> (or GH organization, if that's where your fork lives)"
exit 1
fi
@ -139,7 +139,7 @@ gitamcleanup=false
function make-a-pr() {
local rel="$(basename "${BRANCH}")"
echo "+++ Creating a pull request on github"
echo "+++ Creating a pull request on GitHub at ${GITHUB_USER}:${NEWBRANCH}"
# This looks like an unnecessary use of a tmpfile, but it avoids
# https://github.com/github/hub/issues/976 Otherwise stdin is stolen