/
.goreleaser.yml
49 lines (49 loc) · 954 Bytes
/
.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
before:
hooks:
- go mod download
env:
- GO111MODULE=on
builds:
- id: "scraper"
main: ./cmd/scraper/
binary: boca-chica-bot-scraper
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- '-s -w'
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- id: "publisher"
main: ./cmd/publisher/
binary: boca-chica-bot-publisher
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
ldflags:
- '-s -w'
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
archives:
- id: scraper
builds:
- scraper
format: zip
name_template: "{{ .ProjectName }}-scraper_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- id: publisher
builds:
- publisher
format: zip
name_template: "{{ .ProjectName }}-publisher_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
changelog:
skip: true
release:
disable: true