File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 9
9
10
10
title_prefix=" Upgrade CI to Docker"
11
11
milestone_number=$( curl -s https://api.github.com/repos/${GITHUB_ORGANIZATION} /${GITHUB_REPO} /milestones\? state\= open | jq -c --arg MILESTONE " $MILESTONE " ' .[] | select(.title==$MILESTONE)' | jq -r ' .number' )
12
- existing_upgrade_issues=$( curl -s https://api.github.com/repos/${GITHUB_ORGANIZATION} /${GITHUB_REPO} /issues\? labels\= type:%20task\& state\= open\& creator\= spring-buildmaster \& milestone\= ${milestone_number} | jq -c --arg TITLE_PREFIX " $title_prefix " ' .[] | select(.title | startswith($TITLE_PREFIX))' )
12
+ existing_upgrade_issues=$( curl -s https://api.github.com/repos/${GITHUB_ORGANIZATION} /${GITHUB_REPO} /issues\? labels\= type:%20task\& state\= open\& creator\= spring-builds \& milestone\= ${milestone_number} | jq -c --arg TITLE_PREFIX " $title_prefix " ' .[] | select(.title | startswith($TITLE_PREFIX))' )
13
13
14
14
latest=" https://download.docker.com/linux/static/stable/x86_64/docker-$latest_version .tgz"
15
15
current=$( git-repo/ci/images/get-docker-url.sh )
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ if [[ ${milestone_result} = "null" || ${milestone_result} = "" ]]; then
47
47
fi
48
48
49
49
milestone_number=$( jq -r ' .number' <<< " $milestone_result" )
50
- existing_tasks=$( curl -s https://api.github.com/repos/${GITHUB_ORGANIZATION} /${GITHUB_REPO} /issues\? labels\= type:%20task\& state\= open\& creator\= spring-buildmaster \& milestone\= ${milestone_number} )
50
+ 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} )
51
51
existing_jdk_issues=$( jq -r -c --arg TITLE " $ISSUE_TITLE " ' .[] | select(has("title")) | select(.title==$TITLE)' <<< " $existing_tasks" )
52
52
53
53
if [[ ${existing_jdk_issues} = " " ]]; then
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ if [[ $current = $latest ]]; then
12
12
fi
13
13
14
14
milestone_number=$( curl -s https://api.github.com/repos/${GITHUB_ORGANIZATION} /${GITHUB_REPO} /milestones\? state\= open | jq -c --arg MILESTONE " $MILESTONE " ' .[] | select(.title==$MILESTONE)' | jq -r ' .number' )
15
- existing_tasks=$( curl -s https://api.github.com/repos/${GITHUB_ORGANIZATION} /${GITHUB_REPO} /issues\? labels\= type:%20task\& state\= open\& creator\= spring-buildmaster \& milestone\= ${milestone_number} )
15
+ 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} )
16
16
existing_upgrade_issues=$( echo " $existing_tasks " | jq -c --arg TITLE " $ISSUE_TITLE " ' .[] | select(.title==$TITLE)' )
17
17
18
18
if [[ ${existing_upgrade_issues} = " " ]]; then
Original file line number Diff line number Diff line change 29
29
echo " Staging $stageVersion (next version will be $nextVersion )"
30
30
sed -i " s/version=$snapshotVersion /version=$stageVersion /" gradle.properties
31
31
32
- git config user.name " Spring Buildmaster " > /dev/null
33
- git config user.email " spring-buildmaster @users.noreply.github.com" > /dev/null
32
+ git config user.name " Spring Builds " > /dev/null
33
+ git config user.email " spring-builds @users.noreply.github.com" > /dev/null
34
34
git add gradle.properties > /dev/null
35
35
git commit -m" Release v$stageVersion " > /dev/null
36
36
git tag -a " v$stageVersion " -m" Release v$stageVersion " > /dev/null
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ pushd updated-homebrew-tap-repo > /dev/null
10
10
curl https://repo.spring.io/libs-release-local/org/springframework/boot/spring-boot-cli/${version} /spring-boot-cli-${version} -homebrew.rb --output spring-boot-cli-${version} -homebrew.rb
11
11
rm spring-boot.rb
12
12
mv spring-boot-cli-* .rb spring-boot.rb
13
- git config user.name " Spring Buildmaster " > /dev/null
14
- git config user.email " spring-buildmaster @users.noreply.github.com" > /dev/null
13
+ git config user.name " Spring Builds " > /dev/null
14
+ git config user.email " spring-builds @users.noreply.github.com" > /dev/null
15
15
git add spring-boot.rb > /dev/null
16
16
git commit -m " Upgrade to Spring Boot ${version} " > /dev/null
17
17
echo " DONE"
You can’t perform that action at this time.
0 commit comments