Skip to content

Commit

Permalink
🥳 Bump to Hugo 0.123.0 (#52)
Browse files Browse the repository at this point in the history
New release of Hugo, i.e., `0.123.0` is up:
https://github.com/gohugoio/hugo/releases/tag/v0.123.0
  • Loading branch information
agriyakhetarpal authored Feb 19, 2024
2 parents e91e4ce + 9b90c16 commit a4b23a5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Set up Go toolchain
uses: actions/setup-go@v5
with:
go-version: '1.21.6'
go-version: '1.22.0'
cache: false

- name: Install MinGW compiler(s)
Expand Down Expand Up @@ -103,13 +103,7 @@ jobs:
output-dir: wheelhouse
env:
CIBW_ARCHS_LINUX: x86_64
CIBW_BEFORE_ALL_LINUX: >
yum install -y wget &&
wget https://golang.org/dl/go1.21.6.linux-amd64.tar.gz &&
mkdir $HOME/go_installed &&
tar -C $HOME/go_installed/ -xzf go1.21.6.linux-amd64.tar.gz &&
export PATH="$HOME/go_installed/go/bin:$PATH" &&
go version
CIBW_BEFORE_ALL_LINUX: bash scripts/ci/tools/linux/install_go.sh
CIBW_ENVIRONMENT_LINUX: PATH=$PATH:$HOME/go_installed/go/bin
CIBW_REPAIR_WHEEL_COMMAND_LINUX: ''
CIBW_TEST_COMMAND: >
Expand Down Expand Up @@ -211,7 +205,7 @@ jobs:
- name: Set up Go toolchain
uses: actions/setup-go@v5
with:
go-version: '1.21.6'
go-version: '1.22.0'
cache: false
check-latest: true

Expand Down Expand Up @@ -250,7 +244,7 @@ jobs:
- name: Set up Go toolchain
uses: actions/setup-go@v5
with:
go-version: '1.21.6'
go-version: '1.22.0'
cache: false
check-latest: true

Expand Down Expand Up @@ -288,7 +282,7 @@ jobs:
- name: Set up Go toolchain
uses: actions/setup-go@v5
with:
go-version: '1.21.6'
go-version: '1.22.0'
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 @@ -59,7 +59,7 @@ jobs:
id: setup-go
uses: actions/setup-go@v5
with:
go-version: "1.21.6"
go-version: "1.22.0"
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.122.0"
HUGO_VERSION = "0.123.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.6.linux-amd64.tar.gz"
tarball="go1.22.0.linux-amd64.tar.gz"
elif [[ "$arch" == "aarch64" || "$arch" == "arm64" ]]; then
tarball="go1.21.6.linux-arm64.tar.gz"
tarball="go1.22.0.linux-arm64.tar.gz"
else
echo "Unsupported architecture: $arch"
exit 1
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
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.122.0"
HUGO_VERSION = "0.123.0"
HUGO_RELEASE = (
f"https://github.com/gohugoio/hugo/archive/refs/tags/v{HUGO_VERSION}.tar.gz"
)
# Commit hash for current HUGO_VERSION, needs to be updated when HUGO_VERSION is updated
# Tip: git ls-remote --tags https://github.com/gohugoio/hugo v<HUGO_VERSION>
HUGO_RElEASE_COMMIT_HASH = "6d5b44305eaa9d0a157946492a6f319da38de154"
HUGO_RElEASE_COMMIT_HASH = "3c8a4713908e48e6523f058ca126710397aa4ed5"
# 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 = "7468280290ce43276e26f964b0cab234d2bf0546f80295890189054b98ffac38"
HUGO_SHA256 = "877f4d8246053d6e577fc57d85291c8b1e88635e2711d00ba5708c3782cef89e"
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 a4b23a5

Please sign in to comment.