Skip to content

Commit

Permalink
Merge pull request #189 from deggja/ci/keep-changes
Browse files Browse the repository at this point in the history
ci: try force
  • Loading branch information
deggja authored Oct 4, 2024
2 parents 9a3b8ff + 0244da8 commit b788885
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/homebrew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ jobs:
sed -i "s|sha256 \".*\"|sha256 \"${{ env.MACOS_SHA256 }}\"|" $FORMULA_FILE
sed -i "s|url \".*linux_amd64\.tar\.gz\"|url \"https://github.com/deggja/netfetch/releases/download/v${{ env.VERSION }}/netfetch_${{ env.VERSION }}_linux_amd64.tar.gz\"|" $FORMULA_FILE
sed -i "s|sha256 \".*\"|sha256 \"${{ env.LINUX_SHA256 }}\"|" $FORMULA_FILE
- name: Fetch Latest Changes from Main
run: |
git fetch origin main
git checkout main
git pull origin main
- name: Remove temp directory
run: rm -rf temp
Expand All @@ -81,6 +87,7 @@ jobs:
commit_message: "chore: update homebrew formula for v${{ env.VERSION }}"
branch: chore/homebrew-${{ env.VERSION }}
create_branch: true
push_options: '--force'
file_pattern: "formula/netfetch.rb"
commit_user_name: "Netfetch Bot"
commit_author: "Netfetch Bot <bot@netfetch.com>"
Expand Down

0 comments on commit b788885

Please sign in to comment.