1
0
mirror of https://github.com/umputun/reproxy.git synced 2024-11-16 20:25:52 +02:00
reproxy/.goreleaser.yml
2024-05-23 03:14:10 -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}}"
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
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
scripts:
postinstall: "scripts/postinstall.sh"
preremove: "scripts/preremove.sh"