File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 72
72
cd homebrew-tap
73
73
74
74
# 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
76
76
77
77
# Extract the new URL from the file
78
78
URL=$(grep "url \"" Formula/excavator.rb | sed 's/.*url "\(.*\)".*/\1/')
83
83
# Use sed to replace the sha256 line in-place
84
84
sed -i "s/sha256 .*/sha256 \"$SHA\"/" Formula/excavator.rb
85
85
86
+ git config user.email "jesse@negativespacesounds.com"
87
+ git config user.name "GitHub Actions"
88
+
86
89
# Add changes, commit, and push back to the repository
87
90
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 }}"
89
92
git push origin main # Adjust as needed to your branch name
You can’t perform that action at this time.
0 commit comments