-
Notifications
You must be signed in to change notification settings - Fork 6
/
.goreleaser.yaml
57 lines (49 loc) · 1.03 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
57
version: 2
# Make sure to check the documentation at https://goreleaser.com
before:
hooks:
- go install github.com/mgechev/[email protected]
- go mod tidy
builds:
- id: aemc-cli
binary: aem
main: './cmd/aem'
tags:
- aem
- cli
- provision
- config_mgmt
- timetzdata
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
ldflags:
- "-s -w -X main.appVersion={{ .Version }} -X main.appCommit={{ .Commit }} -X main.appCommitDate={{.CommitDate}}"
dockers:
- id: aemc-cli
image_templates:
- "ghcr.io/wttech/aemc-cli:{{ .Tag }}"
- "ghcr.io/wttech/aemc-cli:latest"
ids:
- aemc-cli
archives:
- id: aemc-cli
builds:
- aemc-cli
name_template: "aemc-cli_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'