.goreleaser.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. ---
  2. project_name: govc
  3. builds:
  4. - goos:
  5. - linux
  6. - darwin
  7. - windows
  8. - freebsd
  9. goarch:
  10. - amd64
  11. - 386
  12. env:
  13. - CGO_ENABLED=0
  14. main: ./govc/main.go
  15. binary: govc
  16. flags: -compiler gc
  17. ldflags: -X github.com/vmware/govmomi/govc/flags.GitVersion={{.Version}}
  18. archive:
  19. name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
  20. format: tar.gz
  21. format_overrides:
  22. - goos: windows
  23. format: zip
  24. files:
  25. - none*
  26. checksum:
  27. name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
  28. changelog:
  29. sort: asc
  30. filters:
  31. exclude:
  32. - '^docs:'
  33. - '^test:'
  34. - Merge pull request
  35. - Merge branch
  36. brew:
  37. github:
  38. owner: govmomi
  39. name: homebrew-tap
  40. commit_author:
  41. name: Alfred the Narwhal
  42. email: cna-alfred@vmware.com
  43. folder: Formula
  44. homepage: "https://github.com/vmware/govmomi/blob/master/govc/README.md"
  45. description: "govc is a vSphere CLI built on top of govmomi."
  46. test: |
  47. system "#{bin}/govc version"
  48. dockers:
  49. - image: vmware/govc
  50. goos: linux
  51. goarch: amd64
  52. binary: govc
  53. tag_templates:
  54. - "{{ .Tag }}"
  55. - "v{{ .Major }}"
  56. - "v{{ .Major }}.{{ .Minor }}"
  57. - latest