Skip to content

Commit

Permalink
ci(release): fix homebrew bump-formula
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Feb 27, 2024
1 parent 63b665f commit fb6ed2b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,15 @@ jobs:

- name: Tap formula
run: brew tap elixir-tools/tap
- name: Configure git
run: |
git config --global user.name github-actions[bot]
git config --global user.email github-actions[bot]@users.noreply.github.com
- name: Bump formula
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
formula="next-ls"
version="${{ needs.release.outputs.tag_name }}"
Expand All @@ -121,4 +129,4 @@ jobs:
git checkout main && git pull
)
HOMEBREW_GITHUB_API_TOKEN="$(gh auth token)" brew bump-formula-pr "$formula" --url="$url" --sha256="$sha" --no-fork --no-browse
brew bump-formula-pr "$formula" --url="$url" --sha256="$sha" --no-fork --no-browse

0 comments on commit fb6ed2b

Please sign in to comment.