update to use .number

Signed-off-by: vsoch <vsochat@stanford.edu>
This commit is contained in:
vsoch
2020-03-18 14:30:22 -06:00
parent df89c5fb9e
commit 09f5606222

View File

@@ -72,7 +72,6 @@ create_pull_request() {
RESPONSE=$(curl -sSL -H "${AUTH_HEADER}" -H "${HEADER}" --user "${GITHUB_ACTOR}" -X POST --data "${DATA}" ${PULLS_URL}) RESPONSE=$(curl -sSL -H "${AUTH_HEADER}" -H "${HEADER}" --user "${GITHUB_ACTOR}" -X POST --data "${DATA}" ${PULLS_URL})
RETVAL=$? RETVAL=$?
printf "Pull request return code: ${RETVAL}\n" printf "Pull request return code: ${RETVAL}\n"
echo ${RESPONSE}
# If there are assignees and we were successful to open, assigm them to it # If there are assignees and we were successful to open, assigm them to it
if [[ "${ASSIGNEES}" != "" ]] && [[ "${RETVAL}" == "0" ]]; then if [[ "${ASSIGNEES}" != "" ]] && [[ "${RETVAL}" == "0" ]]; then