forked from iotaledger/goshimmer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
98 lines (88 loc) · 1.69 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Documentation at http://goreleaser.com
# Project name
project_name: GoShimmer
# Environment variables
env:
- GO111MODULE=on
# Builds
builds:
# GoShimmer AMD64 all OS
- id: goshimmer
binary: goshimmer
env:
- CGO_ENABLED=0
ldflags:
- -s -w -X github.com/iotaledger/goshimmer/plugins/banner.AppVersion={{.Version}}
goos:
- linux
- darwin
- windows
goarch:
- amd64
# cli-wallet AMD64 all OS
- id: cli-wallet
dir: ./tools/cli-wallet
binary: cli-wallet
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
# Archives
archives:
# GoShimmer with config and snapshot
- id: goshimmer
builds:
- goshimmer
name_template: "goshimmer-{{.Version}}_{{.Os}}_{{.Arch}}"
replacements:
amd64: x86_64
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
format_overrides:
- goos: windows
format: zip
files:
- README.md
- LICENSE
- config.json
- snapshot.bin
# cli-wallet
- id: cli-wallet
builds:
- cli-wallet
name_template: "cli-wallet-{{.Version}}_{{.Os}}_{{.Arch}}"
replacements:
amd64: x86_64
arm: ARM
arm64: ARM64
darwin: macOS
linux: Linux
windows: Windows
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
# Checksum
checksum:
name_template: "checksums.txt"
# Snapshot
snapshot:
name_template: "{{ .Tag }}"
# Changelog
changelog:
skip: true
# Release
release:
prerelease: auto
name_template: "{{.ProjectName}}-{{.Version}}"
github:
owner: iotaledger
name: goshimmer