Skip to content

Commit

Permalink
homebrew release: update regex and remove PR
Browse files Browse the repository at this point in the history
Update release asset regex to specify runtime and version groups so that
update-homebrew task can correctly detect version. Additionally, remove
alwaysUsePullRequest parameter so that Homebrew releases become automatic.
  • Loading branch information
ldennington committed Aug 11, 2022
1 parent b83bf02 commit 1c08e84
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release-homebrew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Update Homebrew tap
uses: mjcheetham/update-homebrew@v1.1
uses: mjcheetham/update-homebrew@v1.2
with:
token: ${{ secrets.HOMEBREW_TOKEN }}
tap: microsoft/git
name: git-credential-manager-core
type: cask
releaseAsset: gcm-osx-x64-(.*)\.pkg
alwaysUsePullRequest: true
releaseAsset: |
gcm-osx-x64-(.*)\.pkg
gcm-osx-arm64-(.*)\.pkg

0 comments on commit 1c08e84

Please sign in to comment.