From 9eb716dfe8d650eadcbdc37d44068639a79347f0 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Thu, 18 Apr 2024 11:15:56 -0700 Subject: [PATCH] prepend PR title with Post-release --- hack/jenkins/release_update_releases_json.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/jenkins/release_update_releases_json.sh b/hack/jenkins/release_update_releases_json.sh index 874f9c501971..2d8979b2a222 100755 --- a/hack/jenkins/release_update_releases_json.sh +++ b/hack/jenkins/release_update_releases_json.sh @@ -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 @@ -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