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:
parent
a25c9d6477
commit
0a2dfa38e2
16
.github/workflows/deployment.yml
vendored
Normal file
16
.github/workflows/deployment.yml
vendored
Normal 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
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user