Skip to content

Commit b74e037

Browse files
committed
Revert "Replace hub with gh"
This reverts commit d16c927.
1 parent 256a04b commit b74e037

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- run: git config user.email 'jakub@zalas.pl' && git config user.name 'Jakub Zalas'
15+
- run: sudo apt-get update && sudo apt-get install -y hub
1516
- run: make auto-release
1617
env:
1718
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

.github/workflows/update-toolbox.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- run: git config user.email 'jakub@zalas.pl' && git config user.name 'Jakub Zalas'
15+
- run: sudo apt-get update && sudo apt-get install -y hub
1516
- run: make update-toolbox-pr
1617
env:
1718
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ release:
6767
git commit -m 'Release v$(LATEST_RELEASE)'
6868
git tag -a v$(LATEST_RELEASE) -m 'Tag v$(LATEST_RELEASE)'
6969
git push origin master
70-
gh release create v$(LATEST_RELEASE) --title '$(LATEST_RELEASE)' --notes ":robot: Automagically created release."
70+
hub release create -m '$(LATEST_RELEASE)' -m '' -m ':robot: Automagically created release.' v$(LATEST_RELEASE)
7171
.PHONY: release
7272

7373
auto-release:
@@ -114,6 +114,6 @@ update-toolbox-pr: update-toolbox-version update-readme-tools
114114
git add Dockerfile README.md && \
115115
git commit -m "Update toolbox $(VERSION_CHANGE)" -m "" $(PR_MESSAGE) && \
116116
git push origin toolbox-update && \
117-
gh pr create --head toolbox-update --assignee jakzal --title "Update toolbox $(VERSION_CHANGE)" --body ":robot: This pull request was automagically sent from a Github action.\n\n$(PR_MESSAGE)" \
117+
hub pull-request -h toolbox-update -a jakzal -m 'Update toolbox $(VERSION_CHANGE)' -m '' -m ':robot: This pull request was automagically sent from a Github action.' -m '' $(PR_MESSAGE) \
118118
)
119119
.PHONY: update-toolbox-pr

0 commit comments

Comments
 (0)