This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yml
65 lines (61 loc) · 1.58 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
version: 2
release:
github:
owner: paskal
name: telegram-banhammer
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
goarm:
- "6"
- "7"
ldflags: "-s -w -X main.revision={{.Tag}}-{{.ShortCommit}}-{{.CommitDate}}"
archives:
- format: tar.gz
name_template: >-
{{- .ProjectName }}_
{{- .Version }}_
{{- if eq .Os "darwin" }}macos
{{- else }}{{ .Os }}{{ end }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
nfpms:
- id: telegram-banhammer
package_name: telegram-banhammer
vendor: Dmitry Verkhoturov
homepage: https://github.com/paskal/telegram-banhammer
maintainer: Dmitry Verkhoturov <[email protected]>
description: A program which uses MTProto Telegram API to ban spammers from a group.
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
epoch: "1"
release: "1"
brews:
- name: telegram-banhammer
repository:
owner: paskal
name: telegram-banhammer
description: "A program which uses MTProto Telegram API to ban spammers from a group."
homepage: "https://github.com/paskal/telegram-banhammer"
license: "MIT"
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
test: system "#{bin}/telegram-banhammer --help"