46 lines
1,010 B
YAML
46 lines
1,010 B
YAML
---
|
|
project_name: cacert-goocsp
|
|
before:
|
|
hooks:
|
|
# You may remove this if you don't use go modules.
|
|
- go mod tidy
|
|
builds:
|
|
- id: "cli"
|
|
main: ./cmd/cacertocsp
|
|
binary: cacert-goocsp
|
|
env:
|
|
- CGO_ENABLED=0
|
|
goos:
|
|
- linux
|
|
goarch:
|
|
- amd64
|
|
archives:
|
|
- replacements:
|
|
linux: Linux
|
|
amd64: x86_64
|
|
checksum:
|
|
name_template: 'checksums.txt'
|
|
snapshot:
|
|
name_template: "{{ .Tag }}-next"
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^docs:'
|
|
- '^test:'
|
|
nfpms:
|
|
-
|
|
package_name: cacert-goocsp
|
|
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Arch }}"
|
|
maintainer: Jan Dittberner <jandd@cacert.org>
|
|
formats:
|
|
- deb
|
|
dependencies:
|
|
- adduser
|
|
priority: optional
|
|
bindir: /srv/cacert-goocsp
|
|
contents:
|
|
- src: docs/config.yaml.example
|
|
dst: /usr/share/doc/cacert-goocsp/examples/config.yaml.example
|
|
- src: docs/cacert-goocsp.service
|
|
dst: /lib/systemd/system/cacert-goocsp.service
|