Skip to content

Commit

Permalink
Move Homebrew publishing to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
walles committed Nov 4, 2023
1 parent 5574334 commit 2d6e177
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ DONE
.. _how to install: #installation
.. _Bubblemon: https://walles.github.io/bubblemon/
.. _Flutter: https://flutter.dev
.. _Homebrew: https://brew.sh
.. _Debian 10 Buster: https://wiki.debian.org/DebianBuster
.. _Ubuntu 19.04 Disco: https://launchpad.net/ubuntu/disco/
.. _Homebrew: https://brew.sh
Expand Down
17 changes: 1 addition & 16 deletions devbin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,24 +138,9 @@ read -r -p "Press ENTER when done: "

cat <<EOM
==
Now, make a PR for bumping the homebrew packaging version to $NEW_VERSION_NUMBER:
brew bump-formula-pr --strict px --tag=$NEW_VERSION_NUMBER --revision=$(git rev-parse HEAD)
In that PR, make sure to bump the dateutil dependency as requested here:
https://github.com/Homebrew/homebrew-core/pull/83331#pullrequestreview-730162574
EOM

# Ref: https://github.com/Homebrew/homebrew-core/actions/runs/1132207320
read -r -p "Press ENTER when the PR CI has passed, this took 22 minutes for release 1.5.1: "

cat <<EOM
==
Your release should now be visible here:
* https://github.com/walles/px/releases/latest
* https://formulae.brew.sh/formula/px
* https://formulae.brew.sh/formula/px (or at least there should be a PR open)
* https://pypi.python.org/pypi/pxpx
EOM

0 comments on commit 2d6e177

Please sign in to comment.