Skip to content

Commit

Permalink
Merge pull request #4263 from dokku/bump-formula
Browse files Browse the repository at this point in the history
Bump the dokku client formula on release
  • Loading branch information
josegonzalez authored Dec 20, 2020
2 parents 40e7f6d + b330433 commit 1b767e7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/bump-formula.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: bump-formula
on:
push:
tags:
- '*'
jobs:
bump-formula:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Get version
id: get_version
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
- name: Bump Brew
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
run: |
brew tap dokku/repo
brew bump-formula-pr -f --no-browse --no-audit --no-fork --url "https://github.com/dokku/dokku/archive/${{ steps.get_version.outputs.version }}.tar.gz" dokku/repo/dokku

0 comments on commit 1b767e7

Please sign in to comment.