-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: deggja <[email protected]>
- Loading branch information
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 <[email protected]>" | ||
|