-
Notifications
You must be signed in to change notification settings - Fork 34
/
.goreleaser.yml
67 lines (59 loc) · 1.51 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
66
67
---
before:
hooks:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
main: ./satellite/
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
nfpms:
- id: satellite
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
homepage: https://github.com/t94j0/satellite
maintainer: Max Harley <[email protected]>
description: easy-to-use payload hosting
license: MIT
dependencies:
- openssl
scripts:
postinstall: ".config/scripts/postinstall.sh"
formats:
- deb
- rpm
empty_folders:
- /var/www/html
contents:
- src: ".config/etc/satellite/config.yml"
dst: "/etc/satellite/config.yml"
type: config
- src: ".config/lib/systemd/system/satellite.service"
dst: "/lib/systemd/system/satellite.service"
type: config
- src: ".config/var/lib/satellite/GeoLite2-Country.mmdb"
dst: "/var/lib/satellite/GeoLite2-Country.mmdb"
type: config
brews:
- name: satellite
skip_upload: true
tap:
owner: t94j0
name: homebrew-security
url_template: "https://github.com/t94j0/satellite/releases/{{ .Tag }}/{{ .ArtifactName }}"
commit_author:
name: Max Harley
email: [email protected]
folder: Formula
homepage: "https://github.com/t94j0/satellite"
description: "easy-to-use payload hosting"
install: |
bin.install "satellite"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'