-
-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy path.goreleaser.yml
More file actions
75 lines (72 loc) · 2.08 KB
/
Copy path.goreleaser.yml
File metadata and controls
75 lines (72 loc) · 2.08 KB
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
68
69
70
71
72
73
74
75
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ignore:
- goos: freebsd
goarch: arm64
dir: app
ldflags: "-s -w -X main.revision={{.Tag}}-{{.ShortCommit}}-{{.CommitDate}}"
archives:
- name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ if eq .Os \"darwin\" }}macos{{ else }}{{ .Os }}{{ end }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- completions/*
brews:
- name: reproxy
repository:
owner: umputun
name: homebrew-apps
branch: master
directory: Formula
commit_author:
name: umputun
email: umputun@gmail.com
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://reproxy.io"
description: "Simple edge HTTP(s) reverse proxy with automatic SSL"
license: "MIT"
extra_install: |
bash_completion.install "completions/reproxy.bash" => "reproxy"
zsh_completion.install "completions/reproxy.zsh" => "_reproxy"
fish_completion.install "completions/reproxy.fish" => "reproxy.fish"
nfpms:
- id: reproxy
package_name: reproxy
file_name_template: "{{.ProjectName}}_{{.Tag}}_{{.Os}}_{{.Arch}}"
vendor: Umputun
homepage: https://reproxy.io
maintainer: Umputun <umputun@gmail.com>
description: reverse proxy
license: MIT
formats:
- deb
- rpm
bindir: /usr/bin
epoch: 1
release: 1
contents:
- src: reproxy.service
dst: /etc/systemd/system/reproxy.service
- src: reproxy-example.yml
dst: /etc/reproxy-example.yml
type: config
- src: completions/reproxy.bash
dst: /usr/share/bash-completion/completions/reproxy
- src: completions/reproxy.zsh
dst: /usr/share/zsh/vendor-completions/_reproxy
- src: completions/reproxy.fish
dst: /usr/share/fish/vendor_completions.d/reproxy.fish
scripts:
postinstall: "scripts/postinstall.sh"
preremove: "scripts/preremove.sh"