Skip to content

Commit

Permalink
Replace hub with gh
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzal committed Dec 4, 2023
1 parent 7b6350c commit cb0d412
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/update-toolbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: git config user.email '[email protected]' && git config user.name 'Jakub Zalas'
- run: sudo apt-get update && sudo apt-get install -y hub
- run: make update-toolbox-pr
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ release:
git commit -m 'Release v$(LATEST_RELEASE)'
git tag -a v$(LATEST_RELEASE) -m 'Tag v$(LATEST_RELEASE)'
git push origin master
hub release create -m '$(LATEST_RELEASE)' -m '' -m ':robot: Automagically created release.' v$(LATEST_RELEASE)
gh release create -m '$(LATEST_RELEASE)' -m '' -m ':robot: Automagically created release.' v$(LATEST_RELEASE)
.PHONY: release

update-readme-release: LATEST_RELEASE ?= 0.0.0
Expand Down Expand Up @@ -98,6 +98,6 @@ update-toolbox-pr: update-toolbox-version
git add Dockerfile && \
git commit -m "Update toolbox $(VERSION_CHANGE)" -m "" $(PR_MESSAGE) && \
git push origin toolbox-update && \
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) \
gh 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) \
)
.PHONY: update-toolbox-pr

0 comments on commit cb0d412

Please sign in to comment.