From 490a8a5aeba814517a0ce7aa2ba360c9d3757f7a Mon Sep 17 00:00:00 2001 From: Piyush Garg Date: Mon, 31 Jul 2023 12:36:59 +0530 Subject: [PATCH] Fix goreleaser.yaml indentation and deprecations This will fix the goreleaser.yaml indentation possibly fixing the extra space issue in formula and remove one more deprecation warning --- .goreleaser.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index d8890e30e..cce488eae 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -23,15 +23,15 @@ builds: - -X github.com/openshift-pipelines/pipelines-as-code/pkg/params/version.Version={{.Version}} archives: - name_template: >- - {{ .Binary }}_ - {{ .Version }}_ - {{ .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else if eq .Arch "darwin" }}MacOS - {{- else if eq .Arch "linux" }}Linux - {{- else if eq .Arch "windows" }}Windows - {{- else }}{{ .Arch }}{{ end }} + {{ .Binary }}_ + {{ .Version }}_ + {{ .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else if eq .Arch "darwin" }}MacOS + {{- else if eq .Arch "linux" }}Linux + {{- else if eq .Arch "windows" }}Windows + {{- else }}{{ .Arch }}{{ end }} format_overrides: - goos: windows format: zip @@ -72,7 +72,7 @@ release: brews: - name: tektoncd-pac - tap: + repository: owner: openshift-pipelines name: homebrew-pipelines-as-code folder: Formula