Merge branch '2.7.x'
This commit is contained in:
commit
a1fc7eb4c2
|
|
@ -43,7 +43,7 @@ if [[ ${milestone_result} = "null" || ${milestone_result} = "" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
milestone_number=$( jq -r '.number' <<< "$milestone_result" )
|
milestone_number=$( jq -r '.number' <<< "$milestone_result" )
|
||||||
existing_tasks=$( curl -s https://api.github.com/repos/${GITHUB_ORGANIZATION}/${GITHUB_REPO}/issues\?labels\=type:%20task\&state\=open\&creator\=spring-builds\&milestone\=${milestone_number} )
|
existing_tasks=$( curl -u ${GITHUB_USERNAME}:${GITHUB_PASSWORD} -s https://api.github.com/repos/${GITHUB_ORGANIZATION}/${GITHUB_REPO}/issues\?labels\=type:%20task\&state\=open\&creator\=spring-builds\&milestone\=${milestone_number} )
|
||||||
existing_jdk_issues=$( jq -r -c --arg TITLE "$ISSUE_TITLE" '.[] | select(has("title")) | select(.title==$TITLE)' <<< "$existing_tasks" )
|
existing_jdk_issues=$( jq -r -c --arg TITLE "$ISSUE_TITLE" '.[] | select(has("title")) | select(.title==$TITLE)' <<< "$existing_tasks" )
|
||||||
|
|
||||||
if [[ ${existing_jdk_issues} = "" ]]; then
|
if [[ ${existing_jdk_issues} = "" ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue