forked from rssnyder/discord-stock-ticker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yaml
56 lines (56 loc) · 1.32 KB
/
.goreleaser.yaml
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
before:
hooks:
- go mod tidy
builds:
- ldflags:
- -X 'main.buildVersion={{.Version}}'
env:
- CGO_ENABLED=0
# https://pkg.go.dev/modernc.org/sqlite#hdr-Supported_platforms_and_architectures
goos:
- linux
- windows
- darwin
- freebsd
goarch:
- amd64
- arm64
- arm
- 386
ignore:
- goos: darwin
goarch: arm
- goos: darwin
goarch: 386
- goos: freebsd
goarch: arm64
- goos: freebsd
goarch: arm
- goos: freebsd
goarch: 386
- goos: windows
goarch: arm64
- goos: windows
goarch: arm
- goos: windows
goarch: 386
archives:
- format_overrides:
- goos: windows
format: zip
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
# dockers:
# - image_templates:
# - "gcr.io/rssnyder/discord-stock-ticker:latest"
# - "gcr.io/rssnyder/discord-stock-ticker:{{ .Tag }}"
# build_flag_templates:
# - "--label=org.opencontainers.image.created={{.Date}}"
# - "--label=org.opencontainers.image.title={{.ProjectName}}"
# - "--label=org.opencontainers.image.revision={{.FullCommit}}"
# - "--label=org.opencontainers.image.version={{.Version}}"
# - "--label=org.opencontainers.image.source={{.GitURL}}"