forked from alterway/sshportal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
65 lines (54 loc) · 1.21 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:
- goos: [linux, windows]
goarch: [386, amd64, arm64]
ldflags:
- -s -w -X main.GitSha={{.ShortCommit}} -X main.GitBranch=master -X main.GitTag={{.Version}}
archives:
- wrap_in_directory: true
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
use: git
filters:
exclude:
- '^docs:'
- '^test:'
- '^style:'
- '^ci:'
nfpms:
- file_name_template: "{{ .ConventionalFileName }}"
vendor: Alterway
maintainer: [email protected]
license: Apache 2.0
homepage: https://github.com/alterway/sshportal
description: |-
Transparent SSH bastion written in Go
formats:
- deb
- rpm
dependencies:
- systemd
- libnss-systemd
recommends:
- sqlite3
suggests:
- mariadb
provides:
- sshportal
priority: optional
bindir: /usr/bin
contents:
- src: packaging/etc/
dst: /etc/
type: tree
- src: packaging/selinux/sshportal.pp
dst: /usr/share/selinux/packages/sshportal.pp
scripts:
preinstall: "packaging/preinstall.sh"
postinstall: "packaging/postinstall.sh"
postremove: "packaging/postremove.sh"
deb:
scripts:
templates: packaging/deb/template