Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Fix: Change from hub to gh for Che #22646 (#795)
Browse files Browse the repository at this point in the history
* Fix: Change from hub to gh for Che #22646

* Remove unused variable

* Remove hub install from release.yml
  • Loading branch information
SDawley authored Nov 9, 2023
1 parent 363e98c commit 0477d0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
-
name: Install hub, yq
name: Install yq
run: |
sudo apt-get -y -q install hub
sudo wget https://github.com/mikefarah/yq/releases/download/v4.7.0/yq_linux_amd64 -O /usr/bin/yq
sudo chmod +x /usr/bin/yq
-
Expand Down
3 changes: 1 addition & 2 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,7 @@ commitChangeOrCreatePR()
git checkout "${PR_BRANCH}"
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
}
Expand Down

0 comments on commit 0477d0a

Please sign in to comment.