Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
switch to tee
  • Loading branch information
mdwagner authored Feb 2, 2024
1 parent f7f6c77 commit aa29b7c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- uses: actions/checkout@v4
- name: Bump Formula
run: |
ls -lah
sed -i '' -e 's#url ".*"#url "${{ inputs.url }}"#' \
-e 's/sha256 ".*"/sha256 "${{ inputs.sha256 }}"/' \
-e 's/version ".*"/version "${{ inputs.version }}"/' \
-e 's/assert_equal ".*",/assert_equal "${{ inputs.version }}",/' Formula/lucky.rb
sed -e 's#url ".*"#url "${{ inputs.url }}"#' \
-e 's/sha256 ".*"/sha256 "${{ inputs.sha256 }}"/' \
-e 's/version ".*"/version "${{ inputs.version }}"/' \
-e 's/assert_equal ".*",/assert_equal "${{ inputs.version }}",/' \
Formula/lucky.rb | tee Formula/lucky.rb
git add .
- name: Create PR
uses: diillson/auto-pull-request@v1.0.1
Expand Down

0 comments on commit aa29b7c

Please sign in to comment.