File tree Expand file tree Collapse file tree 5 files changed +12
-18
lines changed Expand file tree Collapse file tree 5 files changed +12
-18
lines changed Original file line number Diff line number Diff line change 6161 - name : Set up Go toolchain
6262 uses : actions/setup-go@v5
6363 with :
64- go-version : ' 1.21.6 '
64+ go-version : ' 1.22.0 '
6565 cache : false
6666
6767 - name : Install MinGW compiler(s)
@@ -103,13 +103,7 @@ jobs:
103103 output-dir : wheelhouse
104104 env :
105105 CIBW_ARCHS_LINUX : x86_64
106- CIBW_BEFORE_ALL_LINUX : >
107- yum install -y wget &&
108- wget https://golang.org/dl/go1.21.6.linux-amd64.tar.gz &&
109- mkdir $HOME/go_installed &&
110- tar -C $HOME/go_installed/ -xzf go1.21.6.linux-amd64.tar.gz &&
111- export PATH="$HOME/go_installed/go/bin:$PATH" &&
112- go version
106+ CIBW_BEFORE_ALL_LINUX : bash scripts/ci/tools/linux/install_go.sh
113107 CIBW_ENVIRONMENT_LINUX : PATH=$PATH:$HOME/go_installed/go/bin
114108 CIBW_REPAIR_WHEEL_COMMAND_LINUX : ' '
115109 CIBW_TEST_COMMAND : >
@@ -211,7 +205,7 @@ jobs:
211205 - name : Set up Go toolchain
212206 uses : actions/setup-go@v5
213207 with :
214- go-version : ' 1.21.6 '
208+ go-version : ' 1.22.0 '
215209 cache : false
216210 check-latest : true
217211
@@ -250,7 +244,7 @@ jobs:
250244 - name : Set up Go toolchain
251245 uses : actions/setup-go@v5
252246 with :
253- go-version : ' 1.21.6 '
247+ go-version : ' 1.22.0 '
254248 cache : false
255249 check-latest : true
256250
@@ -288,7 +282,7 @@ jobs:
288282 - name : Set up Go toolchain
289283 uses : actions/setup-go@v5
290284 with :
291- go-version : ' 1.21.6 '
285+ go-version : ' 1.22.0 '
292286 cache : false
293287 check-latest : true
294288
Original file line number Diff line number Diff line change 5959 id : setup-go
6060 uses : actions/setup-go@v5
6161 with :
62- go-version : " 1.21.6 "
62+ go-version : " 1.22.0 "
6363 cache : false
6464 check-latest : true
6565
Original file line number Diff line number Diff line change 1414from sys import argv
1515from sys import platform as sysplatform
1616
17- HUGO_VERSION = "0.122 .0"
17+ HUGO_VERSION = "0.123 .0"
1818
1919FILE_EXT = ".exe" if sysplatform == "win32" else ""
2020
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ yum install -y wget
77arch=$( uname -m)
88
99if [ " $arch " == " x86_64" ]; then
10- tarball=" go1.21.6 .linux-amd64.tar.gz"
10+ tarball=" go1.22.0 .linux-amd64.tar.gz"
1111elif [[ " $arch " == " aarch64" || " $arch " == " arm64" ]]; then
12- tarball=" go1.21.6 .linux-arm64.tar.gz"
12+ tarball=" go1.22.0 .linux-arm64.tar.gz"
1313else
1414 echo " Unsupported architecture: $arch "
1515 exit 1
Original file line number Diff line number Diff line change 1313from wheel .bdist_wheel import bdist_wheel , get_platform
1414
1515# Has to be kept in sync with the version in hugo/cli.py and incantation of setup()
16- HUGO_VERSION = "0.122 .0"
16+ HUGO_VERSION = "0.123 .0"
1717HUGO_RELEASE = (
1818 f"https://github.com/gohugoio/hugo/archive/refs/tags/v{ HUGO_VERSION } .tar.gz"
1919)
2020# Commit hash for current HUGO_VERSION, needs to be updated when HUGO_VERSION is updated
2121# Tip: git ls-remote --tags https://github.com/gohugoio/hugo v<HUGO_VERSION>
22- HUGO_RElEASE_COMMIT_HASH = "6d5b44305eaa9d0a157946492a6f319da38de154 "
22+ HUGO_RElEASE_COMMIT_HASH = "3c8a4713908e48e6523f058ca126710397aa4ed5 "
2323# The pooch tool will download the tarball into the hugo_cache/ directory.
2424# We will point the build command to that location to build Hugo from source
2525HUGO_CACHE_DIR = "hugo_cache"
26- HUGO_SHA256 = "7468280290ce43276e26f964b0cab234d2bf0546f80295890189054b98ffac38 "
26+ HUGO_SHA256 = "877f4d8246053d6e577fc57d85291c8b1e88635e2711d00ba5708c3782cef89e "
2727FILE_EXT = ".exe" if sys .platform == "win32" else ""
2828
2929# The vendor name is used to set the vendorInfo variable in the Hugo binary
You can’t perform that action at this time.
0 commit comments