.goreleaser.yml 612 B

123456789101112131415161718192021222324252627
  1. # This is an example goreleaser.yaml file with some sane defaults.
  2. # Make sure to check the documentation at http://goreleaser.com
  3. before:
  4. hooks:
  5. - go mod download
  6. builds:
  7. - main: ./cli/eliasdb.go
  8. env:
  9. - CGO_ENABLED=0
  10. goos:
  11. - windows
  12. - linux
  13. goarch:
  14. - amd64
  15. checksum:
  16. name_template: 'checksums.txt'
  17. snapshot:
  18. name_template: "{{ .Tag }}"
  19. changelog:
  20. sort: asc
  21. filters:
  22. exclude:
  23. - '^docs:'
  24. - '^test:'
  25. # Run with:
  26. # docker run --rm --user $(id -u):$(id -g) -v $PWD/.cache:/.cache -v $PWD:/go/code -w /go/code goreleaser/goreleaser --snapshot --skip-publish --rm-dist'