mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-13 13:48:40 +02:00
fix: remove filetype exe from chocolatey template (#5159)
When submitting a new project to chocolatey using goreleaser, a reviewer told me that a line in the template is incorrect: <img width="1054" alt="image" src="https://github.com/user-attachments/assets/423c4493-85fa-4cc5-8a74-97d2a561743b"> <img width="1052" alt="image" src="https://github.com/user-attachments/assets/04425da1-eb90-4504-9308-9a2e49ca85d8"> > since that is not a valid parameter to the Install-ChocolateyZipPackage function: https://docs.chocolatey.org/en-us/create/functions/install-chocolateyzippackage/ This PR aims to correct that by removing the line from the template as requested
This commit is contained in:
parent
962973441b
commit
33dfbce482
@ -20,7 +20,6 @@ $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
||||
$packageArgs = @{
|
||||
packageName = $packageName
|
||||
unzipLocation = $toolsDir
|
||||
fileType = 'exe'
|
||||
{{- range $release := .Packages }}
|
||||
{{- if eq $release.Arch "amd64" }}
|
||||
url64bit = '{{ $release.DownloadURL }}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user