Highly-opinionated (ex-bullshit-free) MTPROTO proxy for Telegram. If you use v1.0 or upgrade broke you proxy, please read the chapter Version 2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.goreleaser.yml 743B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ---
  2. version: 2
  3. project_name: mtg-multi
  4. before:
  5. hooks:
  6. - go mod tidy
  7. - go generate ./...
  8. builds:
  9. - id: default
  10. binary: mtg-multi
  11. goos:
  12. - linux
  13. - darwin
  14. goarch:
  15. - amd64
  16. - arm64
  17. env:
  18. - CGO_ENABLED=0
  19. flags:
  20. - -trimpath
  21. - -mod=readonly
  22. ldflags: -s -w -X main.version={{ .Version }}
  23. archives:
  24. - id: default
  25. ids:
  26. - default
  27. name_template: '{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}'
  28. formats:
  29. - tar.gz
  30. wrap_in_directory: true
  31. files:
  32. - LICENSE
  33. - README.md
  34. - example.config.toml
  35. snapshot:
  36. version_template: '{{ .Version }}'
  37. checksum:
  38. name_template: '{{ .ProjectName }}-{{ .Version }}-checksums.txt'