1
1
mirror of https://github.com/walles/moar.git synced 2024-08-16 07:20:31 +03:00

Automate Homebrew packaging

This commit is contained in:
Johan Walles 2023-09-15 22:30:23 +02:00
parent a25c9d6477
commit 0a2dfa38e2
2 changed files with 16 additions and 6 deletions

16
.github/workflows/deployment.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Continuous Delivery
on:
push:
tags:
- "*"
jobs:
homebrew:
runs-on: ubuntu-latest
steps:
- name: Bump Homebrew formula
uses: dawidd6/action-homebrew-bump-formula@v3
with:
token: ${{secrets.JOHAN_GITHUB_API_TOKEN}}
formula: moar

View File

@ -60,9 +60,3 @@ git push --tags
echo
echo "Please upload the following binaries to <https://github.com/walles/moar/releases/tag/${VERSION}>:"
file releases/moar-"${VERSION}"-*-*
echo
echo "Also, update the brew packaging by making a PR to this file:"
echo "https://github.com/Homebrew/homebrew-core/blob/master/Formula/moar.rb"
echo
echo "brew bump-formula-pr --url=https://github.com/walles/moar/archive/refs/tags/${VERSION}.tar.gz moar"