-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yaml
54 lines (52 loc) · 1.17 KB
/
.goreleaser.yaml
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
version: 2
before:
hooks:
- go mod tidy
builds:
- id: sshmux
binary: sshmux
env:
- CGO_ENABLED=0
main: .
goos:
- linux
goarch:
- amd64
flags:
- -trimpath
ldflags:
- -s -w
archives:
- format: binary
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
use: github-native
nfpms:
- id: default
package_name: sshmux
homepage: https://github.com/USTC-vlab/sshmux
maintainer: "USTC Vlab Team <[email protected]>"
description: |-
A reverse proxy for SSH
formats:
- deb
umask: 0o022
section: admin
priority: extra
scripts:
postinstall: etc/postinst.sh
preremove: etc/prerm.sh
contents:
- src: README.md
dst: /usr/share/doc/sshmux/
- src: etc/config.example.toml
dst: /etc/sshmux/
- src: etc/sshmux.service
dst: /lib/systemd/system/
# modelines, feel free to remove those if you don't want/use them:
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj