Skip to content

Commit

Permalink
update versions in formula as well
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitozgumus committed Dec 21, 2024
1 parent dc7c7fd commit 3132286
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ jobs:
run: |
cd homebrew-formulae
cd Formula
# Update the version lines
sed -i '' "s|version \".*\"|version \"${{ env.tag_name }}\"|g" lazydraft.rb
# Update the URL
sed -i '' "s|url \".*\"|url \"https://github.com/yigitozgumus/lazydraft/releases/download/${{ env.tag_name }}/lazydraft-macos-amd64.tar.gz\"|" lazydraft.rb
# Update the sha256
sed -i '' "s|sha256 \".*\"|sha256 \"${{ steps.sha256.outputs.sha256 }}\"|" lazydraft.rb
git add lazydraft.rb
git commit -m "Update lazydraft formula for version ${{ env.tag_name }}"
Expand Down

0 comments on commit 3132286

Please sign in to comment.