reproxy/.goreleaser.yml
2021-06-20 18:46:09 -05:00

56 lines
1.2 KiB
YAML

signs:
- artifacts: checksum
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"