Skip to content

Commit

Permalink
??
Browse files Browse the repository at this point in the history
  • Loading branch information
therealpaulgg committed Mar 27, 2024
1 parent d3da136 commit 501f477
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-homebrew-formula.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Update Homebrew formula
run: |
cd homebrew-tap
ls
ls Formula
GITHUB_REPO="therealpaulgg/ssh-sync"
FORMULA_PATH="Formula/ssh-sync.rb"
Expand All @@ -40,8 +40,8 @@ jobs:
SHA256=$(curl -Ls $TARBALL_URL | shasum -a 256 | awk '{print $1}')
# Update the formula with the new version and sha256
sed -i "" "s|url \".*\"|url \"$TARBALL_URL\"|g" $FORMULA_PATH
sed -i "" "s|sha256 \".*\"|sha256 \"$SHA256\"|g" $FORMULA_PATH
sed -i "" "s|url \".*\"|url \"$TARBALL_URL\"|g" ./$FORMULA_PATH
sed -i "" "s|sha256 \".*\"|sha256 \"$SHA256\"|g" ./$FORMULA_PATH
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 501f477

Please sign in to comment.