-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
.goreleaser.yml
62 lines (55 loc) · 1.52 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
before:
hooks:
- go generate
- go mod download
builds:
- id: pathvector
env:
- CGO_ENABLED=0
goos:
- linux
- freebsd
goarch:
- amd64
- arm64
- mips64
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
- id: pathvector
package_name: pathvector
file_name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
vendor: Nate Sales
homepage: https://pathvector.io
maintainer: Nate Sales <[email protected]>
description: Pathvector is a declarative edge routing platform that automates route optimization and control plane configuration with secure and repeatable routing policy.
license: MIT
section: utils
priority: extra
builds:
- pathvector
formats:
- deb
- rpm
publishers:
# The vendorbuild publisher isn't really a publisher at all. It's a hack to run the vendorbuild/build.sh script
# after binaries and packages are built but before the release step so packages for vendor platforms can be
# added to the release.
- name: vendorbuild
cmd: ./vendorbuild/build.sh
- name: fury.io
ids:
- pathvector
dir: "{{ dir .ArtifactPath }}"
cmd: curl -s -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/natesales/
release:
extra_files:
- glob: dist/pathvector-*arista*
- glob: dist/pathvector-*juniper*
- glob: dist/pathvector-*cisco*
- glob: dist/pathvector-*mikrotik*
- glob: pathvector-*-release.pdf