X Tutup
Skip to content

Commit b8ecf1f

Browse files
committed
Bump homebrew formula immediately after release
1 parent 80d7513 commit b8ecf1f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/releases.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ jobs:
2626
args: release --release-notes=CHANGELOG.md
2727
env:
2828
GITHUB_TOKEN: ${{secrets.UPLOAD_GITHUB_TOKEN}}
29+
- name: Bump homebrew-core formula
30+
uses: mislav/bump-homebrew-formula-action@v1
31+
if: "!contains(github.ref, '-')" # skip prereleases
32+
with:
33+
formula-name: gh
34+
env:
35+
COMMITTER_TOKEN: ${{ secrets.UPLOAD_GITHUB_TOKEN }}
2936
- name: move cards
3037
if: "!contains(github.ref, '-')"
3138
env:
@@ -38,13 +45,6 @@ jobs:
3845
api() { bin/hub api -H 'accept: application/vnd.github.inertia-preview+json' "$@"; }
3946
cards=$(api projects/columns/$PENDING_COLUMN/cards | jq ".[].id")
4047
for card in $cards; do api projects/columns/cards/$card/moves --field position=top --field column_id=$DONE_COLUMN; done
41-
- name: Bump homebrew-core formula
42-
uses: mislav/bump-homebrew-formula-action@v1
43-
if: "!contains(github.ref, '-')" # skip prereleases
44-
with:
45-
formula-name: gh
46-
env:
47-
COMMITTER_TOKEN: ${{ secrets.UPLOAD_GITHUB_TOKEN }}
4848
msi:
4949
needs: goreleaser
5050
runs-on: windows-latest

0 commit comments

Comments
 (0)
X Tutup