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

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 98cb75cd92 HDDS-12098. Bump Hugo to 0.141.0 (#7731)
98cb75cd92 is described below

commit 98cb75cd9282546ce38014bdb7c7be209b7e973b
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Sat Jan 25 11:34:56 2025 +0100

    HDDS-12098. Bump Hugo to 0.141.0 (#7731)
---
 hadoop-ozone/dev-support/checks/install/hugo.sh | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/hadoop-ozone/dev-support/checks/install/hugo.sh 
b/hadoop-ozone/dev-support/checks/install/hugo.sh
index 279d668438..293fd6b198 100644
--- a/hadoop-ozone/dev-support/checks/install/hugo.sh
+++ b/hadoop-ozone/dev-support/checks/install/hugo.sh
@@ -17,7 +17,7 @@
 # This script installs Hugo.
 # Requires _install_tool from _lib.sh.  Use `source` for both scripts, because 
it modifies $PATH.
 
-: ${HUGO_VERSION:=0.83.1}
+: ${HUGO_VERSION:=0.141.0}
 
 _install_hugo() {
   local os=$(uname -s)
@@ -25,15 +25,22 @@ _install_hugo() {
 
   mkdir bin
 
-  case "${os}" in
-    Darwin)
-      os=macOS
+  case "${arch}" in
+    x86_64)
+      arch=amd64
+      ;;
+    aarch64)
+      arch=arm64
       ;;
   esac
 
-  case "${arch}" in
-    x86_64)
-      arch=64bit
+  case "${os}" in
+    Darwin)
+      os=darwin
+      arch=universal
+      ;;
+    Linux)
+      os=linux
       ;;
   esac
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to