This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch mvnd-1.x
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git


The following commit(s) were added to refs/heads/mvnd-1.x by this push:
     new 8aaee77e Fix homebrew script to update mvnd@1 formula
8aaee77e is described below

commit 8aaee77eba78081c99dba47e8388ae3e595ab21d
Author: Guillaume Nodet <[email protected]>
AuthorDate: Wed Sep 11 15:54:48 2024 +0200

    Fix homebrew script to update mvnd@1 formula
---
 build/publish-on-homebrew.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build/publish-on-homebrew.sh b/build/publish-on-homebrew.sh
index f6a2444c..2b4ad78b 100755
--- a/build/publish-on-homebrew.sh
+++ b/build/publish-on-homebrew.sh
@@ -48,10 +48,10 @@ rm -Rf homebrew-mvnd
 git clone https://github.com/mvndaemon/homebrew-mvnd.git
 cd homebrew-mvnd
 
-perl -i -0pe 's|(on_macos do[\s\S\n]+on_intel do\n\s+url 
)\"([^\"]+)\"(\n\s+sha256 
)\"([^\"]+)\"|$1\"'${darwinAmdZipUrl}'\"$3\"'${darwinAmdSha256}'\"|g' 
Formula/mvnd.rb
-perl -i -0pe 's|(on_macos do[\s\S\n]+on_arm do\n\s+url 
)\"([^\"]+)\"(\n\s+sha256 
)\"([^\"]+)\"|$1\"'${darwinArmZipUrl}'\"$3\"'${darwinArmSha256}'\"|g' 
Formula/mvnd.rb
-perl -i -0pe 's|(on_linux do\n\s+url )\"([^\"]+)\"(\n\s+sha256 
)\"([^\"]+)\"|$1\"'${linuxZipUrl}'\"$3\"'${linuxSha256}'\"|g' Formula/mvnd.rb
-perl -i -0pe 's|(version )"([^\"]+)"|$1\"'${VERSION}'\"|g' Formula/mvnd.rb
+perl -i -0pe 's|(on_macos do[\s\S\n]+on_intel do\n\s+url 
)\"([^\"]+)\"(\n\s+sha256 
)\"([^\"]+)\"|$1\"'${darwinAmdZipUrl}'\"$3\"'${darwinAmdSha256}'\"|g' 
'Formula/[email protected]'
+perl -i -0pe 's|(on_macos do[\s\S\n]+on_arm do\n\s+url 
)\"([^\"]+)\"(\n\s+sha256 
)\"([^\"]+)\"|$1\"'${darwinArmZipUrl}'\"$3\"'${darwinArmSha256}'\"|g' 
'Formula/[email protected]'
+perl -i -0pe 's|(on_linux do\n\s+url )\"([^\"]+)\"(\n\s+sha256 
)\"([^\"]+)\"|$1\"'${linuxZipUrl}'\"$3\"'${linuxSha256}'\"|g' 
'Formula/[email protected]'
+perl -i -0pe 's|(version )"([^\"]+)"|$1\"'${VERSION}'\"|g' 'Formula/[email protected]'
 
 if [ -n "$(git status --porcelain)" ]; then
     echo "Committing release ${VERSION}"

Reply via email to