Skip to content

Commit

Permalink
change the name template
Browse files Browse the repository at this point in the history
  • Loading branch information
Aijeyomah committed Nov 3, 2024
1 parent f0f25f8 commit 6e448a7
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,9 @@ archives:
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
files:
- source: plugin.yaml
- source: LICENSE
- source: install-binary.sh
file_mode: 0755 # Makes install-binary.sh executable
- source: >-
./dist/{{- .ProjectName }}_
{{- .Version }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
file_mode: 0755 # Makes the main binary executable
- plugin.yaml
- LICENSE
- install-binary.sh

snapshot:
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Runtime.Goos }}_{{ .Runtime.Goarch }}"
Expand All @@ -64,4 +55,4 @@ signs:
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"
- "${artifact}"

0 comments on commit 6e448a7

Please sign in to comment.