From 1e529d078a108f36cf26d769756427c2a998d876 Mon Sep 17 00:00:00 2001 From: sdawley Date: Wed, 8 Nov 2023 09:58:52 -0800 Subject: [PATCH 1/2] Fix: use gh instead of hub for Che #22646 --- make-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-release.sh b/make-release.sh index 6e37a4dfa7..c16e7c86f9 100755 --- a/make-release.sh +++ b/make-release.sh @@ -102,7 +102,7 @@ commitChangeOrCreatePR() git pull origin "${PR_BRANCH}" git push origin "${PR_BRANCH}" lastCommitComment="$(git log -1 --pretty=%B)" - hub pull-request -f -m "${lastCommitComment}" -b "${aBRANCH}" -h "${PR_BRANCH}" + gh pr create -f -B "${aBRANCH}" -H "${PR_BRANCH}" fi fi } From d467bc78f09cc6406df90c02f30624e45f29f1d1 Mon Sep 17 00:00:00 2001 From: sdawley Date: Wed, 8 Nov 2023 12:09:09 -0800 Subject: [PATCH 2/2] Remove unused variable --- make-release.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/make-release.sh b/make-release.sh index c16e7c86f9..7e930eef12 100755 --- a/make-release.sh +++ b/make-release.sh @@ -101,7 +101,6 @@ commitChangeOrCreatePR() git checkout "${PR_BRANCH}" git pull origin "${PR_BRANCH}" git push origin "${PR_BRANCH}" - lastCommitComment="$(git log -1 --pretty=%B)" gh pr create -f -B "${aBRANCH}" -H "${PR_BRANCH}" fi fi