+7
-8
.goreleaser.yaml
+7
-8
.goreleaser.yaml
···
11
11
- id: storm
12
12
main: ./cmd
13
13
binary: storm
14
-
env:
15
-
- CGO_ENABLED=0
14
+
env: [CGO_ENABLED=0]
16
15
goos: [linux, darwin, windows]
17
16
goarch: [amd64, arm64, "386"]
18
17
19
18
archives:
20
19
- id: default
21
20
formats: [tar.gz]
22
-
name_template: >-
23
-
{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}
21
+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
24
22
format_overrides:
25
23
- goos: windows
26
24
formats: [zip]
27
-
# 👇 this is the important part
28
25
files:
29
-
- completions/**
30
-
- manpages/**
31
-
# the `**` ensures recursive inclusion from project root
26
+
# modern syntax: each item can have src/dst pairs
27
+
- src: completions/**
28
+
dst: completions
29
+
- src: manpages/**
30
+
dst: manpages
32
31
33
32
changelog:
34
33
sort: asc