oidc-demo-app/.goreleaser.yml

58 lines
1.4 KiB
YAML
Raw Normal View History

2023-07-29 16:23:28 +00:00
---
project_name: cacert-oidc-demo-app
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- id: linux-amd64
main: ./cmd/app
binary: cacert-oidc-demo-app
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
archives:
- id: cacert-oidc-demo-app
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-demo-app
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
maintainer: Jan Dittberner <jandd@cacert.org>
homepage: https://code.cacert.org/cacert/oidc-demo-app
description: |-
OpenID Connect demo application in Go
license: Apache 2.0
formats:
- deb
priority: optional
bindir: /usr/bin
contents:
- src: README.md
dst: /usr/share/doc/cacert-oidc-demo-app/README.md
- src: changelog.md
dst: /usr/share/doc/cacert-oidc-demo-app/changelog.md
- src: docs/demo-app.toml
dst: /usr/share/doc/cacert-oidc-idp/examples/demo-app.toml
- src: docs/cacert-oidc-demo-app.service
dst: /lib/systemd/system/cacert-oidc-demo-app.service
scripts:
postinstall: ./debian/postinst
gitea_urls:
api: https://code.cacert.org/api/v1/
download: https://code.cacert.org