1
0
mirror of https://github.com/umputun/reproxy.git synced 2024-11-16 20:25:52 +02:00
reproxy/.goreleaser.yml

56 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2021-06-21 01:46:09 +02:00
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:
2024-05-23 10:14:10 +02:00
- 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"
2024-05-23 10:14:10 +02:00
preremove: "scripts/preremove.sh"