File tree 1 file changed +39
-3
lines changed 1 file changed +39
-3
lines changed Original file line number Diff line number Diff line change
1
+ # goreleaser.yml
2
+ # This is a GoReleaser configuration file
3
+ # For documentation on all options, see https://goreleaser.com/config/
4
+
5
+ version : 2
6
+
7
+ project_name : kontext
8
+
9
+ before :
10
+ hooks :
11
+ - go mod tidy
12
+
1
13
builds :
2
- - ldflags : -s -w -X github.com/user-cube/aws-cli-manager/v2/pkg/config.version=${GITHUB_REF#refs/tags/}
14
+ - env :
15
+ - CGO_ENABLED=0
16
+ ldflags :
17
+ - -s -w -X github.com/user-cube/aws-cli-manager/v2/cmd.Version={{ .Env.VERSION }} -X github.com/user-cube/aws-cli-manager/v2/cmd.GitCommit={{ .Env.GIT_COMMIT }} -X github.com/user-cube/aws-cli-manager/v2/cmd.BuildDate={{ .Env.BUILD_DATE }}
3
18
goos :
4
19
- linux
5
20
- darwin
6
- - windows
7
21
goarch :
8
22
- amd64
9
23
- arm64
10
- - 386
24
+
25
+ archives :
26
+ - format : tar.gz
27
+ name_template : >-
28
+ {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}
29
+ files :
30
+ - README.md
31
+ - LICENSE
32
+
33
+ checksum :
34
+ name_template : ' checksums.txt'
35
+
36
+ snapshot :
37
+ name_template : " {{ incpatch .Version }}-next"
38
+
39
+ changelog :
40
+ sort : asc
41
+ filters :
42
+ exclude :
43
+ - ' ^docs:'
44
+ - ' ^test:'
45
+ - ' ^ci:'
46
+ - ' ^chore:'
You can’t perform that action at this time.
0 commit comments