-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.goreleaser.yml
129 lines (108 loc) · 3.7 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
project_name: rvasp
dist: dist
builds:
# Define multiple builds as a yaml list, specify by a unique ID
- id: "cmd-rvasp-build"
# Path to project's (sub)directory containing Go code.
dir: .
# Path to main.go file or main package.
main: ./cmd/rvasp
# Binary name (can be a path to wrap binary in a directory)
binary: rvasp
# Custom flags templates
flags:
- -v
# Custom ldflags templates.
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}}
# Custom environment variables to be set during the build
env:
- CGO_ENABLED=0
# GOOS list to build for
# For more info refer to: https://golang.org/doc/install/source#environment
goos:
- linux
- darwin
- windows
# GOARCH to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
goarch:
- amd64
- "386"
- arm64
# GOARM to build for when GOARCH is arm.
# For more info refer to: https://golang.org/doc/install/source#environment
goarm:
- "6"
# List of combinations of GOOS + GOARCH + GOARM to ignore.
ignore:
- goos: darwin
goarch: 386
- goos: linux
goarch: 386
- goos: windows
goarch: arm64
# Set the modified timestamp on the output binary, typically
# you would do this to ensure a build was reproducible. Pass
# empty string to skip modifying the output.
mod_timestamp: '{{ .CommitTimestamp }}'
# Create .tar.gz and .zip archives
archives:
# tar.gz archive of the binaries
- id: "rvasp-archive-tgz"
format: tar.gz
builds:
- "cmd-rvasp-build"
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: true
files:
- LICENSE
- ./pkg/rvasp/README.md
# Used to validate if downloaded files are correct
checksum:
name_template: '{{ .ProjectName }}_{{ .Version }}_checksums.txt'
algorithm: sha256
# Publish the release on GitHub
release:
# Repo in which the release will be created.
# Default is extracted from the origin remote URL or empty if its private hosted.
# Valid options are either github, gitlab or gitea
github:
owner: trisacrypto
name: testnet
# You can change the name of the release.
name_template: 'rVASP v{{.Version}}'
# If set to auto, will mark the release as not ready for production
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1
# If set to true, will mark the release as not ready for production.
prerelease: auto
# Header for the release body.
header: |
[TODO: describe release]
# Footer for the release body.
footer: |
### About
The rVASP tool is a binary command line application that is used to run and
communicate with "robot VASPs" services for the purposes of demonstrating and
testing sending and receiving transactions using the TRISA InterVASP protocol. This
is mainly intended to be used by TRISA implementers to test integration with the
TRISA TestNet. Full usage documentation is available at
[trisa.dev](https://trisa.dev/testnet/rvasps/).
# If set to true, will not auto-publish the release.
disable: false
changelog:
# Set it to true if you wish to skip the changelog generation.
skip: false
filters:
# Commit messages matching the regexp listed here will be removed from the changelog
exclude:
- (?i)typo
- (?i)^f$
# Dependabot fixes
- (?i)Bump
source:
enabled: true
format: 'zip'
name_template: '{{ .ProjectName }}_v{{ .Version }}_source'
signs:
- artifacts: checksum
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]