mirror of
https://github.com/apache/maven-mvnd.git
synced 2026-01-13 07:04:14 +08:00
Add support for Linux ARM64 in Homebrew and SDKMAN! publishing scripts
This commit is contained in:
committed by
Guillaume Nodet
parent
de0ce6c589
commit
bbfe1db7c4
@@ -34,6 +34,8 @@ darwinArmZipUrl="https://downloads.apache.org/maven/mvnd/${VERSION}/maven-mvnd-$
|
||||
darwinArmSha256="$(curl -L --silent "${darwinArmZipUrl}.sha256")"
|
||||
linuxZipUrl="https://downloads.apache.org/maven/mvnd/${VERSION}/maven-mvnd-${VERSION}-linux-amd64.zip"
|
||||
linuxSha256="$(curl -L --silent "${linuxZipUrl}.sha256")"
|
||||
linuxArmZipUrl="https://downloads.apache.org/maven/mvnd/${VERSION}/maven-mvnd-${VERSION}-linux-aarch64.zip"
|
||||
linuxArmSha256="$(curl -L --silent "${linuxArmZipUrl}.sha256")"
|
||||
|
||||
echo "Updating Formula/mvnd.rb with"
|
||||
echo "version: ${VERSION}"
|
||||
@@ -43,6 +45,8 @@ echo "darwin-arm-url: ${darwinArmZipUrl}"
|
||||
echo "darwin-arm-sha256: ${darwinArmSha256}"
|
||||
echo "linux-url: ${linuxZipUrl}"
|
||||
echo "linux-sha256: ${linuxSha256}"
|
||||
echo "linux-arm-url: ${linuxArmZipUrl}"
|
||||
echo "linux-arm-sha256: ${linuxArmSha256}"
|
||||
|
||||
rm -Rf homebrew-mvnd
|
||||
git clone https://github.com/mvndaemon/homebrew-mvnd.git
|
||||
|
||||
@@ -59,6 +59,7 @@ function publishRelease() {
|
||||
}
|
||||
|
||||
publishRelease ${VERSION} LINUX_64 linux-amd64
|
||||
publishRelease ${VERSION} LINUX_ARM64 linux-aarch64
|
||||
publishRelease ${VERSION} MAC_OSX darwin-amd64
|
||||
publishRelease ${VERSION} MAC_ARM64 darwin-aarch64
|
||||
publishRelease ${VERSION} WINDOWS_64 windows-amd64
|
||||
|
||||
Reference in New Issue
Block a user