-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
50 lines (49 loc) · 972 Bytes
/
.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
before:
hooks:
- go mod download
- go generate ./...
builds:
- id: sod
main: ./cmd/sod-srv
binary: sod
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- freebsd
- linux
- windows
- darwin
ldflags:
- -s -w -X main.version={{.Version}} -extldflags '-static'
archives:
- id: sod
builds:
- sod
name_template: "sod_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
darwin: MacOSX
linux: Linux
windows: Windows
amd64: x86_64
nfpms:
- vendor: sod
homepage: https://github.com/go-sod/sod
maintainer: Nikita Ivanov
description: Recognition of anomalies in the data stream in real time. Identify peaks. Fraud detection.
license: MIT
formats: [ deb, rpm ]
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
release:
github:
owner: go-sod
name: sod