.goreleaser.yaml
project_name: ForAuth
builds:
- main: ./cmd/ForAuth/
binary: forauth
id: default
env: [CGO_ENABLED=0]
goos:
- linux
- windows
- darwin
goarch:
- 386
- amd64
- arm
- arm64
goarm:
- "5"
- "6"
- "7"
ignore:
- goos: darwin
goarch: 386
- goos: darwin
goarch: arm
- goos: windows
goarch: 386
- goos: windows
goarch: arm
nfpms:
- maintainer: aceberg <aceberg_a@proton.me>
description: Session-cookie auth reverse proxy
homepage: https://github.com/aceberg/ForAuth
license: MIT
section: utils
formats:
- deb
- rpm
- apk
- termux.deb
contents:
- src: ./configs/ForAuth.service
dst: /lib/systemd/system/ForAuth.service
- src: ./configs/ForAuth@.service
dst: /lib/systemd/system/ForAuth@.service
scripts:
postinstall: ./configs/postinstall.sh
archives:
- files:
- LICENSE
- README.md
- CHANGELOG.md
- src: ./configs/ForAuth.service
dst: ForAuth.service
- src: ./configs/ForAuth@.service
dst: ForAuth@.service
- src: ./configs/install.sh
dst: install.sh
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
checksum:
name_template: "checksums.txt"