Update bump-notevc.yml

This commit is contained in:
Darwin Cereska
2025-11-10 20:45:29 -05:00
committed by GitHub
parent b6be1d7bc7
commit 7844844b28

View File

@@ -66,8 +66,8 @@ jobs:
sed -i "s/^ version \".*\"/ version \"${version}\"/" Formula/notevc.rb sed -i "s/^ version \".*\"/ version \"${version}\"/" Formula/notevc.rb
# Update URLs # Update URLs
sed -i "s|notevc/releases/download/.*notevc-macos-arm64\"|${mac_url}\"|" Formula/notevc.rb sed -i "s|notevc-macos-arm64\"|notevc-macos-arm64\"|" Formula/notevc.rb
sed -i "s|notevc/releases/download/.*notevc-linux-x64\"|${linux_url}\"|" Formula/notevc.rb sed -i "s|notevc-linux-x64\"|notevc-linux-x64\"|" Formula/notevc.rb
# Update macOS SHA256 in its block # Update macOS SHA256 in its block
sed -i "/if OS\.mac\?/ { :a; N; /sha256 \"/ { s/sha256 \".*\"/sha256 \"${mac_hash}\"/; b; }; ba }" Formula/notevc.rb sed -i "/if OS\.mac\?/ { :a; N; /sha256 \"/ { s/sha256 \".*\"/sha256 \"${mac_hash}\"/; b; }; ba }" Formula/notevc.rb