File tree 1 file changed +36
-3
lines changed
1 file changed +36
-3
lines changed Original file line number Diff line number Diff line change
1
+ project_name : shp
1
2
before :
2
3
hooks :
3
4
- go generate ./...
@@ -17,10 +18,42 @@ builds:
17
18
- -s -w -extldflags "-static" -X github.com/shipwright-io/cli/pkg/shp/cmd/version.version={{.Version}}
18
19
main : ./cmd/shp/main.go
19
20
binary : shp
21
+ id : shp
22
+ - env :
23
+ - CGO_ENABLED=0
24
+ goos :
25
+ - linux
26
+ - darwin
27
+ - windows
28
+ goarch :
29
+ - amd64
30
+ - arm64
31
+ flags :
32
+ - -trimpath
33
+ ldflags :
34
+ - -s -w -extldflags "-static" -X github.com/shipwright-io/cli/pkg/shp/cmd/version.version={{.Version}}
35
+ main : ./cmd/shp/main.go
36
+ binary : kubectl-shp
37
+ id : kubectl-shp
20
38
archives :
21
- - replacements :
22
- darwin : macOS
23
- amd64 : x86_64
39
+ - id : " shp"
40
+ name_template : >-
41
+ {{ .ProjectName }}_{{ .Tag }}_
42
+ {{- if eq .Os "darwin" }}macOS_
43
+ {{- else }}{{ .Os }}_{{ end }}
44
+ {{- if eq .Arch "amd64" }}x86_64
45
+ {{- else }}{{ .Arch }}{{ end }}
46
+ builds :
47
+ - shp
48
+ - id : " kubectl-shp"
49
+ name_template : >-
50
+ kubectl-{{ .ProjectName }}_{{ .Tag }}_
51
+ {{- if eq .Os "darwin" }}macOS_
52
+ {{- else }}{{ .Os }}_{{ end }}
53
+ {{- if eq .Arch "amd64" }}x86_64
54
+ {{- else }}{{ .Arch }}{{ end }}
55
+ builds :
56
+ - kubectl-shp
24
57
checksum :
25
58
name_template : ' checksums.txt'
26
59
snapshot :
You can’t perform that action at this time.
0 commit comments