You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
goocsp/.goreleaser.yml

88 lines
2.1 KiB
YAML

---
project_name: cacert-goocsp
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
- id: linux-amd64
main: ./cmd/cacertocsp
binary: cacert-goocsp
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
- id: linux-arm64
main: ./cmd/cacertocsp
binary: cacert-goocsp
goos:
- linux
goarch:
- arm64
goarm:
- "9"
env:
- CC=aarch64-linux-gnu-gcc
- CXX=aarch64-linux-gnu-g++
- PKG_CONFIG_PATH=/usr/aarch64-linux-gnu/pkgconfig
- id: linux-armhf
main: ./cmd/cacertocsp
binary: cacert-goocsp
goos:
- linux
goarch:
- arm
goarm:
- "7"
env:
- CC=arm-linux-gnueabihf-gcc
- CXX=arm-linux-gnueabihf-g++
- PKG_CONFIG_PATH=/usr/arm-linux-gnueabihf/pkgconfig
archives:
- id: cacert-gosigner
builds:
- linux-amd64
- linux-arm64
- linux-armhf
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>
homepage: https://code.cacert.org/cacert/goocsp
description: |-
OCSP responder implemented in Go
license: Apache 2.0
formats:
- deb
priority: optional
bindir: /usr/bin
contents:
- src: README.md
dst: /usr/share/doc/cacert-goocsp/README.md
- src: changelog.md
dst: /usr/share/doc/cacert-goocsp/changelog.md
- src: docs/config-example-crl.yaml
dst: /usr/share/doc/cacert-goocsp/examples/config-example-crl.yaml
- src: docs/config-example-openssl-index.yaml
dst: /usr/share/doc/cacert-goocsp/examples/config-example-openssl-index.yaml
- src: docs/cacert-goocsp.service
dst: /lib/systemd/system/cacert-goocsp.service
scripts:
postinstall: ./debian/postinst
gitea_urls:
api: https://code.cacert.org/api/v1/
download: https://code.cacert.org