Skip to content

Commit

Permalink
add build tags for goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
batmac committed Jun 21, 2023
1 parent b1e3d44 commit 126dfbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ builds:
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -v
- -tags=plugins,keystore
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser -X main.tags=
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser -X main.tags=plugins,keystore
archives:
- name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
rlcp: true
Expand Down

0 comments on commit 126dfbb

Please sign in to comment.