Skip to content

Commit

Permalink
add goreleaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
slingamn committed Jan 1, 2023
1 parent 2e9e071 commit dc658b9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# .goreleaser.yml
project_name: vault-exfiltrate
builds:
- main: vault-exfiltrate.go
binary: vault-exfiltrate
goos:
- linux
- darwin
goarch:
- amd64
- arm64
flags:
- -trimpath

archives:
-
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format: tar.gz
replacements:
darwin: macos
files:
- README.md
- LICENSE
wrap_in_directory: true
checksum:
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.txt"

0 comments on commit dc658b9

Please sign in to comment.