oidc-idp/.goreleaser.yml

58 lines
1.4 KiB
YAML
Raw Normal View History

---
project_name: cacert-oidc-idp
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- id: linux-amd64
main: ./cmd/idp
binary: cacert-idp
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
archives:
- id: cacert-oidc-idp
builds:
- linux-amd64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
nfpms:
-
package_name: cacert-oidc-idp
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
maintainer: Jan Dittberner <jandd@cacert.org>
homepage: https://code.cacert.org/cacert/oidc_idp
description: |-
OpenID Connect IDP for the ORY Hydra authorization API server in Go
license: Apache 2.0
formats:
- deb
priority: optional
bindir: /usr/bin
contents:
- src: README.md
dst: /usr/share/doc/cacert-oidc-idp/README.md
- src: changelog.md
dst: /usr/share/doc/cacert-oidc-idp/changelog.md
- src: docs/idp.toml
dst: /usr/share/doc/cacert-oidc-idp/examples/idp.toml
- src: docs/cacert-oidc-idp.service
dst: /lib/systemd/system/cacert-oidc-idp.service
scripts:
postinstall: ./debian/postinst
gitea_urls:
api: https://code.cacert.org/api/v1/
download: https://code.cacert.org