forked from temporalio/temporal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
73 lines (73 loc) · 1.56 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
env:
- MODULE_ROOT=go.temporal.io/server
before:
hooks:
- go mod download
builds:
- id: "temporal-server"
dir: cmd/server
binary: temporal-server
env:
- CGO_ENABLED=0
ldflags:
- -X {{.Env.MODULE_ROOT}}/ldflags.GitRevision={{.ShortCommit}}
- -X {{.Env.MODULE_ROOT}}/ldflags.GitBranch={{.Env.GIT_BRANCH}}
- -X {{.Env.MODULE_ROOT}}/ldflags.GitTag={{.Tag}}
- -X {{.Env.MODULE_ROOT}}/ldflags.BuildDate={{.Env.BUILD_DATE}}
- -X {{.Env.MODULE_ROOT}}/ldflags.BuildTimeUnix={{.Env.BUILD_TS_UNIX}}
- -X {{.Env.MODULE_ROOT}}/ldflags.BuildPlatform={{.Env.BUILD_PLATFORM}}
- -X {{.Env.MODULE_ROOT}}/ldflags.GoVersion={{.Env.GO_VERSION}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- id: "tctl"
dir: cmd/tools/cli
binary: tctl
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- id: "temporal-cassandra-tool"
dir: cmd/tools/cassandra
binary: temporal-cassandra-tool
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- id: "temporal-sql-tool"
dir: cmd/tools/sql
binary: temporal-sql-tool
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
checksum:
name_template: 'checksums.txt'
algorithm: sha256
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'