-
Notifications
You must be signed in to change notification settings - Fork 26
/
.goreleaser.yml
60 lines (60 loc) · 1.32 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
project_name: cisshgo
builds:
- env:
- CGO_ENABLED=0
ldflags:
- -s -w
goos:
- linux
- darwin
- windows
goarch:
- amd64
hooks:
post: upx "{{ .Path }}"
# uncomment and modify if automated docker build/push is needed
# dockers:
# - goos: linux
# goarch: amd64
# binaries:
# - cisshgo
# image_templates:
# - "hellt/cisshgo:latest"
# - 'hellt/cisshgo:{{ replace .Version "v" ""}}'
# dockerfile: Dockerfile
# skip_push: false
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
nfpms:
- id: cisshgo
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
replacements:
amd64: x86_64
darwin: darwin
linux: linux
vendor: cisshgo
homepage: https://github.com/tbotnz/cisshgo
maintainer: tbotnz
description: Simple, small, fast, concurrent SSH server to emulate network equipment (i.e. Cisco IOS) for testing purposes.
license: Apache 2.0
formats:
- deb
- rpm
bindir: /usr/local/bin