Skip to content

Commit 3ed388b

Browse files
ci: another try
1 parent 9049cca commit 3ed388b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: .github/workflows/release.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
cd homebrew-tap
7373
7474
# Use sed to replace version number in-place without creating a backup file
75-
sed -i -E "s/v[0-9]+\.[0-9]+\.[0-9]+(-lw)?/${{ env.TAG_NAME }}/g" Formula/excavator.rb
75+
sed -i -E "s/v[0-9]+\.[0-9]+\.[0-9]+(-lw)?/${{ needs.check_tag.outputs.is_version_tag }}/g" Formula/excavator.rb
7676
7777
# Extract the new URL from the file
7878
URL=$(grep "url \"" Formula/excavator.rb | sed 's/.*url "\(.*\)".*/\1/')
@@ -83,7 +83,10 @@ jobs:
8383
# Use sed to replace the sha256 line in-place
8484
sed -i "s/sha256 .*/sha256 \"$SHA\"/" Formula/excavator.rb
8585
86+
git config user.email "jesse@negativespacesounds.com"
87+
git config user.name "GitHub Actions"
88+
8689
# Add changes, commit, and push back to the repository
8790
git add Formula/excavator.rb
88-
git commit -m "Update excavator to ${{ env.TAG_NAME }}"
91+
git commit -m "Update excavator to ${{ needs.check_tag.outputs.is_version_tag }}"
8992
git push origin main # Adjust as needed to your branch name

0 commit comments

Comments
 (0)