.goreleaser.yml 870 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # This is an example goreleaser.yaml file with some sane defaults.
  2. # Make sure to check the documentation at http://goreleaser.com
  3. archives:
  4. - replacements:
  5. darwin: Darwin
  6. linux: Linux
  7. windows: Windows
  8. 386: i386
  9. amd64: x86_64
  10. before:
  11. hooks:
  12. # You may remove this if you don't use go modules.
  13. - go mod download
  14. # you may remove this if you don't need go generate
  15. - go generate ./...
  16. builds:
  17. - binary: released
  18. env:
  19. - CGO_ENABLED=0
  20. id: binaire
  21. goos:
  22. - darwin
  23. goarch:
  24. - amd64
  25. changelog:
  26. sort: asc
  27. filters:
  28. exclude:
  29. - '^docs:'
  30. - '^test:'
  31. checksum:
  32. name_template: 'checksums.txt'
  33. env_files:
  34. gitea_token: ./gitea_token.txt
  35. gitea_urls:
  36. api: https://code.osinet.fr/api/v1/
  37. skip_tls_verify: false
  38. project_name: released
  39. snapshot:
  40. name_template: "{{ .Tag }}-next"