-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.goreleaser.yml
More file actions
62 lines (57 loc) · 1.47 KB
/
.goreleaser.yml
File metadata and controls
62 lines (57 loc) · 1.47 KB
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
58
59
60
61
62
version: 2
before:
hooks:
- go mod tidy
builds:
- id: default
env:
- CGO_ENABLED=0
main: ./cmd/kcl/main.go
binary: kcl
goos:
- darwin
- linux
- windows
goarch:
- amd64
- arm64
ldflags:
- "-X kcl-lang.io/cli/pkg/version.version={{ .Version }}"
archives:
- id: default
ids:
- default
name_template: "kcl-v{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
formats:
- zip
brews:
- name: kcl
repository:
owner: kcl-lang
name: homebrew-tap
branch: main
url_template: "https://github.com/kcl-lang/cli/releases/download/{{ .Tag }}/kcl-v{{ .Version }}-{{ .Os }}-{{ .Arch }}.tar.gz"
homepage: "https://github.com/kcl-lang/kcl"
description: "KCL Command Line Interface"
license: "Apache-2.0"
commit_author:
name: GoReleaser Bot
email: goreleaser@carlosbecker.com
scoops:
- name: kcl
url_template: "https://github.com/kcl-lang/cli/releases/download/{{ .Tag }}/kcl-v{{ .Version }}-{{ .Os }}-{{ .Arch }}.zip"
repository:
owner: kcl-lang
name: scoop-bucket
branch: main
token: "{{ .Env.GITHUB_TOKEN }}"
directory: Scoops
commit_author:
name: goreleaserbot
email: bot@goreleaser.com
commit_msg_template: "Scoop update for kcl version {{ .Tag }}"
homepage: "https://github.com/kcl-lang/kcl"
description: "KCL Command Line Interface"
license: "Apache-2.0"