forked from temporalio/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
67 lines (58 loc) · 1.13 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
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
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
builds:
- <<: &build_defaults
dir: cmd/temporal
binary: temporal
ldflags:
- -s -w -X github.com/temporalio/cli/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:
skip: true
announce:
skip: "true"