add installer alias for go

This commit is contained in:
XinruShan
2021-12-09 18:20:43 +00:00
committed by AJ ONeal
parent cda2da19b3
commit 72b9fbf1eb
+5
View File
@@ -0,0 +1,5 @@
#!/bin/pwsh
echo "'go@$Env:WEBI_TAG' is an alias for 'golang@$Env:WEBI_VERSION'"
IF ($Env:WEBI_HOST -eq $null -or $Env:WEBI_HOST -eq "") { $Env:WEBI_HOST = "https://webinstall.dev" }
curl.exe -fsSL "$Env:WEBI_HOST/golang@$Env:WEBI_VERSION" | powershell