goreleaser.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. # Run with `ctl.sh release` to get ENV vars
  2. project_name: browsh
  3. builds:
  4. - binary: browsh
  5. env:
  6. - CGO_ENABLED=0
  7. main: cmd/browsh/main.go
  8. goos:
  9. - windows
  10. - darwin
  11. - linux
  12. - freebsd
  13. - openbsd
  14. goarch:
  15. - 386
  16. - amd64
  17. - arm
  18. - arm64
  19. goarm:
  20. - 6
  21. - 7
  22. ignore:
  23. - goos: darwin
  24. goarch: 386
  25. - goarch: arm64
  26. goos: windows
  27. ldflags: -s -w
  28. archives:
  29. - format_overrides:
  30. - goos: windows
  31. format: binary
  32. - goos: linux
  33. format: binary
  34. - goos: freebsd
  35. format: binary
  36. - goos: openbsd
  37. format: binary
  38. nfpms:
  39. - vendor: Browsh
  40. homepage: https://www.brow.sh
  41. maintainer: Thomas Buckley-Houston <tom@tombh.co.uk>
  42. description: The modern, text-based browser
  43. license: GPL v3
  44. formats:
  45. - deb
  46. - rpm
  47. dependencies:
  48. - firefox
  49. overrides:
  50. deb:
  51. dependencies:
  52. - 'firefox | firefox-esr'
  53. brews:
  54. - name: browsh
  55. tap:
  56. name: homebrew-browsh
  57. homepage: "https://www.brow.sh"
  58. description: "The modern, text-based browser"
  59. caveats: "You need Firefox 57 or newer to run Browsh"
  60. # We do the upload manually because Goreleaser doesn't support Deploy Keys and Github
  61. # doesn't support repo-specific Access Tokens 🙄
  62. skip_upload: true
  63. release:
  64. extra_files:
  65. - glob: ./browsh-*.xpi