-
Notifications
You must be signed in to change notification settings - Fork 113
/
.goreleaser.yml
86 lines (75 loc) · 1.59 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
# Documentation at http://goreleaser.com
# Project name
project_name: GoShimmer
# Environment variables
env:
- GO111MODULE=on
# Builds
builds:
- id: cli-wallet
dir: ./tools/cli-wallet
binary: cli-wallet
goarch:
- amd64
- arm64
- id: evil-spammer
dir: ./tools/evil-spammer
binary: evil-spammer
goarch:
- amd64
- arm64
universal_binaries:
- id : cli-wallet
name_template: cli-wallet
replace: true
- id: evil-spammer
name_template: evil-spammer
replace: true
# Archives
archives:
- id: cli-wallet
builds:
- cli-wallet
name_template: >-
{{ .Binary }}_{{ .Version }}_
{{- if eq .Os "darwin"}}macOS
{{- else }}{{ title .Os }}{{ end }}
{{- if eq .Arch "amd64" }}_x86_64
{{- else if eq .Arch "all" }}
{{- else }}_{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- id: evil-spammer
builds:
- evil-spammer
name_template: >-
{{ .Binary }}_{{ .Version }}_
{{- if eq .Os "darwin"}}macOS
{{- else }}{{ title .Os }}{{ end }}
{{- if eq .Arch "amd64" }}_x86_64
{{- else if eq .Arch "all" }}
{{- else }}_{{ .Arch }}{{ end }}
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