Skip to content

Commit

Permalink
prepend PR title with Post-release
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr authored and medyagh committed Apr 18, 2024
1 parent c981a0b commit 9eb716d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/jenkins/release_update_releases_json.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if ! [[ "${VERSION_BUILD}" =~ ^[0-9]+$ ]]; then
git push -f minikube-bot jenkins-releases.json-${TAGNAME}

# Send PR from minikube-bot/minikube to kubernetes/minikube
curl -X POST -u minikube-bot:${BOT_PASSWORD} -k -d "{\"title\": \"update releases-beta.json & releases-beta-v2.json to include ${TAGNAME}\",\"head\": \"minikube-bot:jenkins-releases.json-${TAGNAME}\",\"base\": \"master\"}" https://api.github.com/repos/kubernetes/minikube/pulls
curl -X POST -u minikube-bot:${BOT_PASSWORD} -k -d "{\"title\": \"Post-release: update releases-beta.json & releases-beta-v2.json to include ${TAGNAME}\",\"head\": \"minikube-bot:jenkins-releases.json-${TAGNAME}\",\"base\": \"master\"}" https://api.github.com/repos/kubernetes/minikube/pulls

# Upload file to GCS so that minikube can see the new version
gsutil cp deploy/minikube/releases-beta.json gs://minikube/releases-beta.json
Expand All @@ -68,7 +68,7 @@ else
git push -f minikube-bot jenkins-releases.json-${TAGNAME}

# Send PR from minikube-bot/minikube to kubernetes/minikube
curl -X POST -u minikube-bot:${BOT_PASSWORD} -k -d "{\"title\": \"update releases.json & releases-v2.json to include ${TAGNAME}\",\"head\": \"minikube-bot:jenkins-releases.json-${TAGNAME}\",\"base\": \"master\"}" https://api.github.com/repos/kubernetes/minikube/pulls
curl -X POST -u minikube-bot:${BOT_PASSWORD} -k -d "{\"title\": \"Post-release: update releases.json & releases-v2.json to include ${TAGNAME}\",\"head\": \"minikube-bot:jenkins-releases.json-${TAGNAME}\",\"base\": \"master\"}" https://api.github.com/repos/kubernetes/minikube/pulls

# Upload file to GCS so that minikube can see the new version
gsutil cp deploy/minikube/releases.json gs://minikube/releases.json
Expand Down

0 comments on commit 9eb716d

Please sign in to comment.