mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-30 10:26:17 +03:00
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
- windows
|
|
goarch:
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
ignore:
|
|
- goos: freebsd
|
|
goarch: arm
|
|
- goos: freebsd
|
|
goarch: arm64
|
|
dir: app
|
|
ldflags: "-s -w -X main.revision={{.Tag}}-{{.ShortCommit}}-{{.CommitDate}}"
|
|
|
|
archives:
|
|
- name_template: "{{.ProjectName}}_{{.Tag}}_{{.Os}}_{{.Arch}}"
|
|
replacements:
|
|
386: i386
|
|
amd64: x86_64
|
|
darwin: macos
|
|
format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
files:
|
|
- LICENSE
|
|
- README.md
|
|
|
|
nfpms:
|
|
-
|
|
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
|
|
files:
|
|
"reproxy.service": "/etc/systemd/system/reproxy.service"
|
|
"reproxy-example.yml": "/etc/reproxy-example.yml"
|
|
scripts:
|
|
postinstall: "scripts/postinstall.sh"
|
|
preremove: "scripts/preremove.sh" |