Skip to content

Commit

Permalink
Add goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
42wim committed Nov 29, 2021
1 parent 3e1f814 commit 8b71d28
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
release:
prerelease: auto
name_template: "{{.ProjectName}} v{{.Version}}"

builds:
- id: vault-plugin-auth-ssh
main: ./cmd/vault-plugin-auth-ssh
env:
- CGO_ENABLED=0
goos:
- freebsd
- windows
- darwin
- linux
- netbsd
- openbsd
goarch:
- amd64
- arm
- arm64
- 386
goarm:
- 6
- 7

archives:
-
id: vault-plugin-auth-ssh
builds:
- vault-plugin-auth-ssh
name_template: "{{ .Binary }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
format: binary
files:
- none*

checksum:
name_template: 'checksums.txt'

0 comments on commit 8b71d28

Please sign in to comment.