Skip to content

Commit

Permalink
automate brew update
Browse files Browse the repository at this point in the history
  • Loading branch information
daimor committed Mar 23, 2023
1 parent 8211cfc commit 6164308
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,3 +122,28 @@ jobs:
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker images
run: make push

homebrew:
needs: build
if: github.event_name == 'release'
name: Bump Homebrew formula
runs-on: ubuntu-latest
steps:
- name: set version
id: set-version
run: |
VERSION=${{ github.event.release.tag_name }} && VERSION=${VERSION/v/}
echo "version=$VERSION" >> $GITHUB_OUTPUT
- uses: mislav/bump-homebrew-formula-action@v2
with:
formula-name: irissqlcli
formula-path: Formula/irissqlcli.rb
homebrew-tap: caretdev/homebrew-tap
base-branch: main
download-url: https://pypi.io/packages/source/i/irissqlcli/irissqlcli-${{ steps.set-version.outputs.version }}.tar.gz
commit-message: |
{{formulaName}} {{version}}
Created by https://github.com/mislav/bump-homebrew-formula-action
env:
COMMITTER_TOKEN: ${{ secrets.TOKEN }}
2 changes: 1 addition & 1 deletion requirements-iris.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://github.com/intersystems-community/intersystems-irispython/releases/download/3.4.1/intersystems_iris-3.4.1-py3-none-any.whl
https://github.com/intersystems-community/intersystems-irispython/releases/download/3.4.2/intersystems_iris-3.4.2-py3-none-any.whl

0 comments on commit 6164308

Please sign in to comment.