Skip to content

Commit d16c927

Browse files
committed
Replace hub with gh
1 parent af3abac commit d16c927

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- run: git config user.email '[email protected]' && git config user.name 'Jakub Zalas'
15-
- run: sudo apt-get update && sudo apt-get install -y hub
1615
- run: make auto-release
1716
env:
1817
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

.github/workflows/update-toolbox.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- run: git config user.email '[email protected]' && git config user.name 'Jakub Zalas'
15-
- run: sudo apt-get update && sudo apt-get install -y hub
1615
- run: make update-toolbox-pr
1716
env:
1817
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-
hub release create -m '$(LATEST_RELEASE)' -m '' -m ':robot: Automagically created release.' v$(LATEST_RELEASE)
70+
gh release create v$(LATEST_RELEASE) --title '$(LATEST_RELEASE)' --notes ":robot: Automagically created 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-
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) \
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)" \
118118
)
119119
.PHONY: update-toolbox-pr

0 commit comments

Comments
 (0)