File tree Expand file tree Collapse file tree 2 files changed +20
-17
lines changed Expand file tree Collapse file tree 2 files changed +20
-17
lines changed Original file line number Diff line number Diff line change 97
97
- uses : actions/checkout@v2
98
98
- uses : goreleaser/goreleaser-action@v2
99
99
with :
100
- args : release --snapshot --skip- publish --rm-dist
100
+ args : release --snapshot --skip= publish --clean
Original file line number Diff line number Diff line change 1
- # This is an example goreleaser.yaml file with some sane defaults.
2
- # Make sure to check the documentation at http://goreleaser.com
1
+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2
+
3
+ version : 2
3
4
4
5
builds :
5
6
- env :
@@ -9,13 +10,13 @@ builds:
9
10
- windows
10
11
- darwin
11
12
goarch :
12
- - 386
13
+ - " 386"
13
14
- amd64
14
15
- arm
15
16
- arm64
16
17
ignore :
17
18
- goos : darwin
18
- goarch : 386
19
+ goarch : " 386"
19
20
20
21
id : jsonnet
21
22
main : ./cmd/jsonnet
@@ -30,13 +31,13 @@ builds:
30
31
- windows
31
32
- darwin
32
33
goarch :
33
- - 386
34
+ - " 386"
34
35
- amd64
35
36
- arm
36
37
- arm64
37
38
ignore :
38
39
- goos : darwin
39
- goarch : 386
40
+ goarch : " 386"
40
41
41
42
id : jsonnetfmt
42
43
main : ./cmd/jsonnetfmt
@@ -49,13 +50,13 @@ builds:
49
50
- windows
50
51
- darwin
51
52
goarch :
52
- - 386
53
+ - " 386"
53
54
- amd64
54
55
- arm
55
56
- arm64
56
57
ignore :
57
58
- goos : darwin
58
- goarch : 386
59
+ goarch : " 386"
59
60
60
61
id : jsonnet-lint
61
62
main : ./cmd/jsonnet-lint
@@ -68,26 +69,28 @@ builds:
68
69
- windows
69
70
- darwin
70
71
goarch :
71
- - 386
72
+ - " 386"
72
73
- amd64
73
74
- arm
74
75
- arm64
75
76
ignore :
76
77
- goos : darwin
77
- goarch : 386
78
+ goarch : " 386"
78
79
79
80
id : jsonnet-deps
80
81
main : ./cmd/jsonnet-deps
81
82
binary : jsonnet-deps
82
83
83
84
84
85
archives :
85
- - replacements :
86
- darwin : Darwin
87
- linux : Linux
88
- windows : Windows
89
- 386 : i386
90
- amd64 : x86_64
86
+ - name_template : >-
87
+ {{- .ProjectName }}_
88
+ {{- title .Os }}_
89
+ {{- if eq .Arch "amd64" }}x86_64
90
+ {{- else if eq .Arch "386" }}i386
91
+ {{- else }}{{ .Arch }}{{ end }}
92
+ {{- if .Arm }}v{{ .Arm }}{{ end -}}
93
+
91
94
checksum :
92
95
name_template : " checksums.txt"
93
96
You can’t perform that action at this time.
0 commit comments