Skip to content

Commit

Permalink
🤗 Hugo 0.122.0 (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal authored Jan 27, 2024
2 parents b693acd + 0c59d26 commit 0188585
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ jobs:
- name: Set up Go toolchain
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.21.6'
cache: false
check-latest: true

- name: Install MinGW compiler(s)
run: choco install mingw
Expand Down Expand Up @@ -109,9 +108,9 @@ jobs:
CIBW_ARCHS_LINUX: x86_64
CIBW_BEFORE_ALL_LINUX: >
yum install -y wget &&
wget https://golang.org/dl/go1.21.5.linux-amd64.tar.gz &&
wget https://golang.org/dl/go1.21.6.linux-amd64.tar.gz &&
mkdir $HOME/go_installed &&
tar -C $HOME/go_installed/ -xzf go1.21.5.linux-amd64.tar.gz &&
tar -C $HOME/go_installed/ -xzf go1.21.6.linux-amd64.tar.gz &&
export PATH="$HOME/go_installed/go/bin:$PATH" &&
go version
CIBW_ENVIRONMENT_LINUX: PATH=$PATH:$HOME/go_installed/go/bin
Expand Down Expand Up @@ -219,7 +218,7 @@ jobs:
- name: Set up Go toolchain
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.21.6'
cache: false
check-latest: true

Expand Down Expand Up @@ -259,7 +258,7 @@ jobs:
- name: Set up Go toolchain
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.21.6'
cache: false
check-latest: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
id: setup-go
uses: actions/setup-go@v5
with:
go-version: "1.21.x"
go-version: "1.21.6"
cache: false
check-latest: true

Expand Down
2 changes: 1 addition & 1 deletion hugo/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from sys import argv
from sys import platform as sysplatform

HUGO_VERSION = "0.121.2"
HUGO_VERSION = "0.122.0"

FILE_EXT = ".exe" if sysplatform == "win32" else ""

Expand Down
4 changes: 2 additions & 2 deletions scripts/ci/tools/linux/install_go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ yum install -y wget
arch=$(uname -m)

if [ "$arch" == "x86_64" ]; then
tarball="go1.21.5.linux-amd64.tar.gz"
tarball="go1.21.6.linux-amd64.tar.gz"
elif [[ "$arch" == "aarch64" || "$arch" == "arm64" ]]; then
tarball="go1.21.5.linux-arm64.tar.gz"
tarball="go1.21.6.linux-arm64.tar.gz"
else
echo "Unsupported architecture: $arch"
exit 1
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from wheel.bdist_wheel import bdist_wheel, get_platform

# Has to be kept in sync with the version in hugo/cli.py and incantation of setup()
HUGO_VERSION = "0.121.2"
HUGO_VERSION = "0.122.0"
HUGO_RELEASE = (
f"https://github.com/gohugoio/hugo/archive/refs/tags/v{HUGO_VERSION}.tar.gz"
)
Expand All @@ -23,7 +23,7 @@
# The pooch tool will download the tarball into the hugo_cache/ directory.
# We will point the build command to that location to build Hugo from source
HUGO_CACHE_DIR = "hugo_cache"
HUGO_SHA256 = "bbefa92a7ae9442f7acd082df3dca64f0d872264bb0ffb8bc582def4d5690a1b"
HUGO_SHA256 = "7468280290ce43276e26f964b0cab234d2bf0546f80295890189054b98ffac38"
FILE_EXT = ".exe" if sys.platform == "win32" else ""

# The vendor name is used to set the vendorInfo variable in the Hugo binary
Expand Down

0 comments on commit 0188585

Please sign in to comment.