.goreleaser.yml 681 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. project_name: nkeys
  2. release:
  3. github:
  4. owner: nats-io
  5. name: nkeys
  6. name_template: '{{.Tag}}'
  7. draft: true
  8. builds:
  9. - main: ./nk/main.go
  10. ldflags: "-X main.Version={{.Tag}}_{{.Commit}}"
  11. binary: nk
  12. goos:
  13. - linux
  14. - darwin
  15. goarch:
  16. - amd64
  17. dist: build
  18. archive:
  19. wrap_in_directory: true
  20. name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}{{ if .Arm
  21. }}v{{ .Arm }}{{ end }}'
  22. format: zip
  23. checksum:
  24. name_template: '{{ .ProjectName }}-v{{ .Version }}-checksums.txt'
  25. snapshot:
  26. name_template: 'dev'
  27. nfpm:
  28. formats:
  29. - deb
  30. bindir: /usr/local/bin
  31. description: NKeys utility cli program
  32. vendor: nats-io