Skip to content

Commit

Permalink
Update release config
Browse files Browse the repository at this point in the history
  • Loading branch information
redhatrises committed Jul 23, 2024
1 parent 9f06bc7 commit fb89c9f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ builds:
flags:
- -trimpath
ldflags:
- '-s -w -X github.com/crowdstrike/falcon-installer/internal/version.Version={{ replace .Version "v" "" }} -X github.com/crowdstrike/falcon-installer/internal/version.Commit={{.Commit}}'
- '-s -w -X github.com/crowdstrike/falcon-installer/internal/version.Version={{.Version}} -X github.com/crowdstrike/falcon-installer/internal/version.Commit={{.Commit}}'
main: ./cmd/main.go
goos:
- linux
Expand All @@ -40,8 +40,9 @@ archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{- .Os }}_
{{ .ProjectName }}-
{{ .Version }}-
{{- .Os }}-
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
Expand Down

0 comments on commit fb89c9f

Please sign in to comment.