From 33dfbce4823a9f80854b7f063541d155260a79e0 Mon Sep 17 00:00:00 2001 From: Leo Robinovitch Date: Fri, 27 Sep 2024 06:32:11 -0700 Subject: [PATCH] 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: image image > 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 --- internal/pipe/chocolatey/template.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/pipe/chocolatey/template.go b/internal/pipe/chocolatey/template.go index 252950f1c..5d9673c26 100644 --- a/internal/pipe/chocolatey/template.go +++ b/internal/pipe/chocolatey/template.go @@ -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 }}'