.goreleaser.yaml 639 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. version: 1
  2. before:
  3. hooks:
  4. # You may remove this if you don't use go modules.
  5. - go mod tidy
  6. builds:
  7. - env:
  8. - CGO_ENABLED=0
  9. main: ./bin/memos
  10. binary: memos
  11. goos:
  12. - linux
  13. - darwin
  14. archives:
  15. - format: tar.gz
  16. # this name template makes the OS and Arch compatible with the results of `uname`.
  17. name_template: >-
  18. {{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}
  19. changelog:
  20. sort: asc
  21. filters:
  22. exclude:
  23. - "^docs:"
  24. - "^test:"
  25. checksum:
  26. disable: true
  27. release:
  28. draft: true
  29. replace_existing_draft: true
  30. make_latest: true
  31. mode: replace
  32. skip_upload: false