Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-12098. Bump Hugo to 0.141.0 #7731

Merged
merged 1 commit into from
Jan 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions hadoop-ozone/dev-support/checks/install/hugo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,30 @@
# 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)
local arch=$(uname -m)

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

Expand Down
Loading