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 501f477 commit e46453e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update-homebrew-formula.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
ls Formula
GITHUB_REPO="therealpaulgg/ssh-sync"
FORMULA_PATH="Formula/ssh-sync.rb"
TAP_REPO="therealpaulgg/homebrew-ssh-sync"
# Fetch the latest release data from GitHub
Expand All @@ -40,8 +39,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/ssh-sync.rb
sed -i "" "s|sha256 \".*\"|sha256 \"$SHA256\"|g" ./Formula/ssh-sync.rb
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit e46453e

Please sign in to comment.