Skip to content

Commit

Permalink
Fix goreleaser.yaml indentation and deprecations
Browse files Browse the repository at this point in the history
This will fix the goreleaser.yaml indentation possibly fixing the
extra space issue in formula and remove one more deprecation warning
  • Loading branch information
piyush-garg authored and savitaashture committed Jul 31, 2023
1 parent 4990013 commit 7820545
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -72,7 +72,7 @@ release:
brews:
- name: tektoncd-pac
tap:
repository:
owner: openshift-pipelines
name: homebrew-pipelines-as-code
folder: Formula
Expand Down

0 comments on commit 7820545

Please sign in to comment.