go-devops/release/publishers/templates/chocolatey/tools/chocolateyinstall.ps1.tmpl
Claude 392ad68047
feat: extract devops packages from core/go
Build system, release automation, SDK generation, Ansible executor,
LinuxKit dev environments, container runtime, deployment, infra
metrics, and developer toolkit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 15:21:39 +00:00

13 lines
449 B
Cheetah

$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url64 = 'https://github.com/{{.Repository}}/releases/download/v{{.Version}}/{{.BinaryName}}-windows-amd64.zip'
$packageArgs = @{
packageName = '{{.PackageName}}'
unzipLocation = $toolsDir
url64bit = $url64
checksum64 = '{{.Checksums.WindowsAmd64}}'
checksumType64 = 'sha256'
}
Install-ChocolateyZipPackage @packageArgs