Skip to content

Commit

Permalink
Merge pull request #8 from NBISweden/goreleaser_more
Browse files Browse the repository at this point in the history
Fixed configuration hopefully
  • Loading branch information
pontus authored Jan 10, 2025
2 parents a4673c7 + 4353422 commit f5fddfb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/linters/.jscpd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignore": ["**/.goreleaser.yaml"]
}
21 changes: 19 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,25 @@ builds:
ldflags:
- -s -w -X main.Version={{ .Tag }}
archives:
- name_template: >-
{{ .ProjectName }}_
- id: sdafs
builds:
- sdafs
name_template: >-
sdafs_
{{ .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip

- id: csi-driver
builds:
- csi-driver
name_template: >-
csi-driver_
{{ .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
Expand Down

0 comments on commit f5fddfb

Please sign in to comment.