-
Notifications
You must be signed in to change notification settings - Fork 134
/
.goreleaser.yml
65 lines (59 loc) · 1.8 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
builds:
# You can have multiple builds defined as a yaml list.
-
dir: ./v2
goos:
- linux
- freebsd
- darwin
- windows
# GOARCH to build for.
# For more info refer to: https://golang.org/doc/install/source#environment
# Defaults are 386, amd64 and arm64.
goarch:
- amd64
ldflags:
- -X main.Version={{ .Version }}
nfpms:
# note that this is an array of nfpm configs
-
# Replacements for GOOS and GOARCH in the package name.
# Keys should be valid GOOSs or GOARCHs.
# Values are the respective replacements.
# Default is empty.
replacements:
amd64: 64-bit
darwin: macOS
vendor: alphasoc
homepage: https://alphasoc.com/
maintainer: AlphaSOC <[email protected]>
description: A lightweight utility used to generate malicious network traffic and help
security teams to evaluate security controls and network visibility.
license: CCPL
# Formats to be generated.
formats:
- deb
- rpm
- apk
release:
# 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.
# Default is false.
prerelease: auto
# If set to true, will not auto-publish the release.
# Default is false.
draft: true
# Header template for the release body.
header: |
## Network Flight Simulator v{{.Version}} ({{ time "2006-01-02" }})
Welcome to this new release!
# Footer template for the release body.
footer: |
## Enjoy!
# You can change the name of the release.
# Default is `{{.Tag}}` on OSS and `{{.PrefixedTag}}` on Pro.
name_template: "{{.ProjectName}}-v{{.Version}}"
# Sign all artifacts.
signs:
- artifacts: all