Skip to content

Commit

Permalink
ci(release): fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-babichenko committed Aug 16, 2024
1 parent 0d2eb38 commit 806b390
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,14 @@ jobs:
uses: actions/checkout@v4

- name: Update Homebrew formula
VERSION=${GITHUB_REF#refs/tags/v}

git clone https://github.com/eugene-babichenko/homebrew-fixit.git
cargo xtask packaging $VERSION homebrew > ./homebrew-fixit/Formula/fixit.rb
cd homebrew-fixit
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git remote set-url origin https://eugene-babichenko:${{ secrets.HOMEBREW_FORMULA_TOKEN }}@github.com/eugene-babichenko/homebrew-fixit.git
git add Formula/fixit.rb
git commit -m "chore: release $VERSION"
git push origin master
run: |
VERSION=${GITHUB_REF#refs/tags/v}
git clone https://github.com/eugene-babichenko/homebrew-fixit.git
cargo xtask packaging $VERSION homebrew > ./homebrew-fixit/Formula/fixit.rb
cd homebrew-fixit
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git remote set-url origin https://eugene-babichenko:${{ secrets.HOMEBREW_FORMULA_TOKEN }}@github.com/eugene-babichenko/homebrew-fixit.git
git add Formula/fixit.rb
git commit -m "chore: release $VERSION"
git push origin master

0 comments on commit 806b390

Please sign in to comment.