forked from iotaledger/wasp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
73 lines (66 loc) · 1.35 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
# Documentation: http://goreleaser.com
before:
hooks:
- go mod download
builds:
- id: wasp
main: ./main.go
binary: wasp
flags:
- -tags=builtin_static,rocksdb
goos:
- linux
# Disabled until the grocksdb supports darwin and windows:
# See: https://github.com/gohornet/grocksdb/commit/0ad7d027aa822e322cd81b2ef7e6696b675472b6
# - windows
# - darwin
goarch:
- amd64
- id: wasp-cli
main: ./tools/wasp-cli/main.go
binary: wasp-cli
goos:
- linux
goarch:
- amd64
archives:
- id: wasp
builds:
- wasp
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
format_overrides:
- goos: windows
format: zip
wrap_in_directory: true
files:
- README.md
- config.json
- LICENSE
- id: wasp-cli
name_template: "wasp-cli_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
builds:
- wasp-cli
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
format_overrides:
- goos: windows
format: zip
wrap_in_directory: true
files:
- tools/wasp-cli/README.md
- LICENSE
changelog:
skip: true
release:
prerelease: auto
name_template: "{{.ProjectName}}-{{.Version}}"
github:
owner: iotaledger
name: wasp