Skip to content

Commit

Permalink
fix: replace goreleaser deprecated replacement field (#159)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinandan Purkait <purkaitabhinandan@gmail.com>
  • Loading branch information
Abhinandan-Purkait authored Mar 21, 2024
1 parent 42a5d29 commit 0067ee7
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ changelog:
exclude: ['^docs:', '^test:', 'Merge pull request', 'Merge branch']

archives:
- name_template: '{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}'
- name_template: '{{ .ProjectName }}_{{ .Tag }}_{{ title .Os }}_{{ if eq .Arch "386" }}x86_32{{ else if eq .Arch "amd64"}}x86_64{{ else }}{{ .Arch }}{{ end }}'
format_overrides:
- goos: 'windows'
format: 'zip'
Expand All @@ -30,12 +30,6 @@ archives:
files:
- README.md
- LICENSE
replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: x86_32
amd64: x86_64

checksum:
name_template: 'checksums_{{ .Tag }}.txt'
Expand All @@ -47,16 +41,10 @@ release:
footer: '<img src="https://avatars.githubusercontent.com/u/20769039?s=200&v=4" width="35" height="35"/>© 2020-2022 The OpenEBS Authors. All materials licensed under [Apache v2.0](https://www.apache.org/licenses/LICENSE-2.0.html)'

nfpms:
- file_name_template: '{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}'
- file_name_template: '{{ .ProjectName }}_{{ .Tag }}_{{ title .Os }}_{{ if eq .Arch "386" }}x86_32{{ else if eq .Arch "amd64"}}x86_64{{ else }}{{ .Arch }}{{ end }}'
vendor: OpenEBS
homepage: https://openebs.io/
description: OpenebsCTL is a plugin for kubectl. It allows users to fetch details of their OpenEBS storage components for information and debuggability.
license: Apache 2.0
formats:
- deb
overrides:
deb:
replacements:
linux: Linux
386: x86_32
amd64: x86_64

0 comments on commit 0067ee7

Please sign in to comment.