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: - id: reproxy package_name: reproxy file_name_template: "{{.ProjectName}}_{{.Tag}}_{{.Os}}_{{.Arch}}" vendor: Umputun homepage: https://reproxy.io maintainer: Umputun 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"