Skip to content

Commit

Permalink
fix: che-22646 use gh instead of hub (#604)
Browse files Browse the repository at this point in the history
Signed-off-by: Mykhailo Kuznietsov <[email protected]>
  • Loading branch information
mkuznyetsov authored Nov 9, 2023
1 parent 72f191b commit 77011bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,10 @@ jobs:
run: |
sudo apt-get update -y || true
# install more dependencies
sudo apt-get -y -q install wget curl bash git hub
sudo apt-get -y -q install wget curl bash git
java -version
# want git >=2.24, hub >=2
hub --version # hub reports git version too
git --version
gh --version
# want >=5
bash --version
Expand Down
3 changes: 1 addition & 2 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ commitChangeOrCreatePR() {
git checkout "${PR_BRANCH}"
git pull origin "${PR_BRANCH}" || true
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
set -e
}
Expand Down

0 comments on commit 77011bb

Please sign in to comment.