-
Notifications
You must be signed in to change notification settings - Fork 4
/
.goreleaser.yaml
53 lines (53 loc) · 1.3 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
project_name: kubectl-kcl
release:
github:
owner: kcl-lang
name: kubectl-kcl
builds:
- id: kubectl-kcl
goos:
- linux
- darwin
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
- GO111MODULE=on
ldflags: -s -w
-X github.com/kcl-lang/kubectl-kcl/pkg/version.version={{.Version}}
-X github.com/kcl-lang/kubectl-kcl/pkg/version.gitSHA={{.Commit}}
-X github.com/kcl-lang/kubectl-kcl/pkg/version.buildTime={{.Date}}
-extldflags "-static"
flags: -tags netgo -installsuffix netgo
binary: kubectl-kcl
hooks: {}
archives:
- id: kubectl-kcl
builds:
- kubectl-kcl
format: tar.gz
format_overrides:
- goos: windows
format: zip
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: "{{ .ProjectName }}_checksums.txt"
algorithm: sha256
brews:
- tap:
owner: kcl-lang
name: kubectl-kcl
branch: chore-{{.Tag}}
pull_request:
enabled: true
commit_author:
name: kcl-lang
description: "kubectl-kcl is a kubectl plugin to generate, abstract, mutate and validate Kubernetes manifests using the KCL programming language."
krews:
- index:
owner: kcl-lang
name: kubectl-kcl
branch: chore-{{.Tag}}
pull_request:
enabled: true