@@ -52,12 +52,12 @@ if [[ ${M} == "" ]]; then
5252 echo " Please make sure that you have cleaned up and closed the milestone connected to ${MVN_VERSION_RELEASE} " ;
5353 read -n 1 -srp " Press any key to continue (ctrl+c to cancel)" ; printf " \n\n" ;
5454
55- SHOULD_BE_NULL_IF_MILESTONE_IS_CLOSED=$( curl -s -H " Accept: application/vnd.github.v3+json" https://api.github.com/repos/eclipse/rdf4j/milestones? state=open | jq ' .[] | select(.title == "' " ${MVN_VERSION_RELEASE} " ' ") | .number' )
55+ SHOULD_BE_NULL_IF_MILESTONE_IS_CLOSED=$( curl -s -H " Accept: application/vnd.github.v3+json" https://api.github.com/repos/eclipse-rdf4j /rdf4j/milestones? state=open | jq ' .[] | select(.title == "' " ${MVN_VERSION_RELEASE} " ' ") | .number' )
5656 echo " ${SHOULD_BE_NULL_IF_MILESTONE_IS_CLOSED} "
5757 if ! [[ ${SHOULD_BE_NULL_IF_MILESTONE_IS_CLOSED} == " " ]]; then
5858 echo " " ;
5959 echo " Milestone not closed!" ;
60- echo " https://github.com/eclipse/rdf4j/milestone/${SHOULD_BE_NULL_IF_MILESTONE_IS_CLOSED} " ;
60+ echo " https://github.com/eclipse-rdf4j /rdf4j/milestone/${SHOULD_BE_NULL_IF_MILESTONE_IS_CLOSED} " ;
6161 exit 1;
6262 fi
6363fi
@@ -66,11 +66,11 @@ echo "Version: ${MVN_VERSION_RELEASE}";
6666
6767# first try to get the GITHUB_MILESTONE number from the closed milestones
6868export GITHUB_MILESTONE
69- GITHUB_MILESTONE=$( curl -s -H " Accept: application/vnd.github.v3+json" https://api.github.com/repos/eclipse/rdf4j/milestones? state=closed\& direction=desc\& sort=title | jq ' .[] | select(.title == "' " ${MVN_VERSION_RELEASE} " ' ") | .number' )
69+ GITHUB_MILESTONE=$( curl -s -H " Accept: application/vnd.github.v3+json" https://api.github.com/repos/eclipse-rdf4j /rdf4j/milestones? state=closed\& direction=desc\& sort=title | jq ' .[] | select(.title == "' " ${MVN_VERSION_RELEASE} " ' ") | .number' )
7070
7171# then try to get the GITHUB_MILESTONE number from the open milestones (this should only be relevant for RDF4J Milestone builds).
7272if [[ ${GITHUB_MILESTONE} == " " ]]; then
73- GITHUB_MILESTONE=$( curl -s -H " Accept: application/vnd.github.v3+json" https://api.github.com/repos/eclipse/rdf4j/milestones | jq ' .[] | select(.title == "' " ${MVN_VERSION_RELEASE} " ' ") | .number' )
73+ GITHUB_MILESTONE=$( curl -s -H " Accept: application/vnd.github.v3+json" https://api.github.com/repos/eclipse-rdf4j /rdf4j/milestones | jq ' .[] | select(.title == "' " ${MVN_VERSION_RELEASE} " ' ") | .number' )
7474fi
7575
7676if [[ ${GITHUB_MILESTONE} == " " ]]; then
@@ -80,9 +80,9 @@ if [[ ${GITHUB_MILESTONE} == "" ]]; then
8080fi
8181
8282export NUMBER_OF_CLOSED_ISSUES
83- NUMBER_OF_CLOSED_ISSUES=$( curl -s -H " Accept: application/vnd.github.v3+json" https://api.github.com/repos/eclipse/rdf4j/milestones/${GITHUB_MILESTONE} | jq ' .closed_issues' )
83+ NUMBER_OF_CLOSED_ISSUES=$( curl -s -H " Accept: application/vnd.github.v3+json" https://api.github.com/repos/eclipse-rdf4j /rdf4j/milestones/${GITHUB_MILESTONE} | jq ' .closed_issues' )
8484
85- echo " Milestone: https://github.com/eclipse/rdf4j/milestone/${GITHUB_MILESTONE} "
85+ echo " Milestone: https://github.com/eclipse-rdf4j /rdf4j/milestone/${GITHUB_MILESTONE} "
8686echo " Number of closed issues: ${NUMBER_OF_CLOSED_ISSUES} "
8787
8888export DATETIME
0 commit comments