forked from temporalio/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
85 lines (74 loc) · 1.43 KB
/
.goreleaser.yml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
before:
hooks:
- go mod download
- go run ./cmd/docgen
release:
prerelease: auto
draft: false
name_template: "v{{.Version}}"
archives:
- <<: &archive_defaults
name_template: "temporal_cli_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
id: nix
builds:
- nix
format: tar.gz
files:
- LICENSE
- <<: *archive_defaults
id: windows-zip
builds:
- windows
format: zip
files:
- LICENSE
# used by SDKs as zip cannot be used by rust https://github.com/zip-rs/zip/issues/108
- <<: *archive_defaults
id: windows-targz
builds:
- windows
files:
- LICENSE
- id: docgen
builds:
- docgen
name_template: "temporal_cli_documentation_{{ .Version }}"
wrap_in_directory: false
files:
- LICENSE
- docs/*
builds:
- <<: &build_defaults
dir: cmd/temporal
binary: temporal
ldflags:
- -s -w -X github.com/temporalio/cli/headers.Version={{.Version}}
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
id: nix
goos:
- linux
- darwin
- <<: *build_defaults
id: windows
goos:
- windows
hooks:
post: # TODO sign Windows release
- id: docgen
dir: cmd/docgen
binary: docgen
goos:
- linux
goarch:
- amd64
checksum:
name_template: "checksums.txt"
algorithm: sha256
changelog:
skip: true
announce:
skip: "true"