-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy path.goreleaser.yml
More file actions
71 lines (61 loc) · 1.16 KB
/
.goreleaser.yml
File metadata and controls
71 lines (61 loc) · 1.16 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
63
64
65
66
67
68
69
70
71
version: 2
before:
hooks:
- go mod download
release:
prerelease: auto
draft: false
name_template: "v{{.Version}}"
archives:
- <<: &archive_defaults
name_template: "temporal_cli_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
id: nix
ids:
- nix
formats:
- tar.gz
files:
- LICENSE
- <<: *archive_defaults
id: windows-zip
ids:
- windows
formats:
- 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
ids:
- windows
files:
- LICENSE
builds:
- <<: &build_defaults
dir: cmd/temporal
binary: temporal
ldflags:
- -s -w -X github.com/temporalio/cli/internal/temporalcli.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
checksum:
name_template: "checksums.txt"
algorithm: sha256
changelog:
disable: true
announce:
skip: "true"