Update go to 1.22.3 for windows
This commit is contained in:
parent
c9eb79df59
commit
74e97d8208
@ -1,9 +1,11 @@
|
||||
@echo off
|
||||
setlocal EnableDelayedExpansion
|
||||
set root_path=%devenver_root%\NodeJS
|
||||
set version=%~1
|
||||
for /f "tokens=1,* delims= " %%a in ("%*") do set remaining_args=%%b
|
||||
|
||||
set root_path=%devenver_root%\NodeJS
|
||||
set bin_path=%root_path%\%version%
|
||||
|
||||
if "%~1"=="help" goto :help
|
||||
if "%~1"=="" goto :help
|
||||
if "%~1"=="--help" goto :help
|
||||
@ -18,6 +20,6 @@ ls %root_path%
|
||||
goto :eof
|
||||
|
||||
:run
|
||||
echo [SCRIPT] Adding to path '%root_path%\%version%' and executing '%remaining_args%'
|
||||
set PATH=%root_path%\%version%;%PATH%
|
||||
echo [SCRIPT] Adding to path '%bin_path%' and executing '%remaining_args%'
|
||||
set PATH=%bin_path%;%PATH%
|
||||
%remaining_args%
|
||||
|
@ -1504,7 +1504,7 @@ def get_manifest(is_windows):
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
version = "1.20.1"
|
||||
version = "1.22.3"
|
||||
download_url = ""
|
||||
download_checksum = ""
|
||||
exe_path = ""
|
||||
@ -1513,14 +1513,14 @@ def get_manifest(is_windows):
|
||||
if is_windows:
|
||||
exe_path = "bin/go.exe"
|
||||
download_url = f"https://go.dev/dl/go{version}.windows-amd64.zip"
|
||||
download_checksum = "3b493969196a6de8d9762d09f5bc5ae7a3e5814b0cfbf9cc26838c2bc1314f9c"
|
||||
checksum = "89fc8e2c47f2a2a9138e60159781ce377167cf61e30d8136fbad0d77ac9303ed"
|
||||
download_checksum = "cab2af6951a6e2115824263f6df13ff069c47270f5788714fa1d776f7f60cb39"
|
||||
checksum = "37f24030ec1215a3a8210037f33fda633d28f1cba6f72610d25b6db7cbc7d05c"
|
||||
symlink = [f"go-{version}.exe"]
|
||||
else:
|
||||
exe_path = f"bin/go"
|
||||
download_url = f"https://go.dev/dl/go{version}.linux-amd64.tar.gz"
|
||||
download_checksum = "000a5b1fca4f75895f78befeb2eecf10bfff3c428597f3f1e69133b63b911b02"
|
||||
checksum = "dfaaf2d9212757e0c305c9554f616cac6744de646ef6ef20f5eaf9d9634771c3"
|
||||
download_checksum = "aaa"
|
||||
checksum = "aaa"
|
||||
symlink = [f"go-{version}"]
|
||||
|
||||
result.append({
|
||||
|
Loading…
Reference in New Issue
Block a user