Skip to content

Commit

Permalink
fix typo bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cdemers committed Oct 20, 2023
1 parent 5b21f30 commit fd2a906
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-hombrew-formula.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
- name: Update Formula
run: |
VERSION=$(echo $GITHUB_REF | sed 's/refs\/tags\///')
sed -i "s/version \".*\"/version \"$VERSION\"/" homebrew-tools/Formulas/question.rb
sed -i "s|url \".*\"|url \"https://github.com/cdemers/question/releases/download/$VERSION/question.tgz\"|" homebrew-tools/Formulas/question.rb
sed -i "s/version \".*\"/version \"$VERSION\"/" homebrew-tools/Formula/question.rb
sed -i "s|url \".*\"|url \"https://github.com/cdemers/question/releases/download/$VERSION/question.tgz\"|" homebrew-tools/Formula/question.rb
- name: Commit and Push Formula
run: |
cd homebrew-tools
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add Formulas/question.rb
git add Formula/question.rb
git commit -m "Update question formula to version $VERSION"
git push

0 comments on commit fd2a906

Please sign in to comment.