-
Notifications
You must be signed in to change notification settings - Fork 4
/
.goreleaser.yml
57 lines (56 loc) · 1.04 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
project_name: dapr-standalone
builds:
- id: linux-darwin
main: ./cmd/installer
binary: "{{ .ProjectName }}"
goos:
- linux
- darwin
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
flags:
- -mod=readonly
ldflags:
- -w -s -X main.version={{ .Version }}
- id: windows-amd64
main: ./cmd/installer
binary: "{{ .ProjectName }}"
goos:
- windows
goarch:
- amd64
env:
- CGO_ENABLED=0
flags:
- -mod=readonly
ldflags:
- -w -s -X main.version={{ .Version }}
archives:
- id: dapr-standalone
builds:
- linux-darwin
- windows-amd64
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
format: tar.gz
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
github:
owner: pkedy
name: standalone
prerelease: auto
draft: false