goocsp/.goreleaser.yml

82 lines
1.9 KiB
YAML
Raw Normal View History

2022-03-21 17:46:24 +00:00
---
project_name: cacert-goocsp
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
2022-09-10 08:39:57 +00:00
- id: linux-amd64
2022-03-21 17:46:24 +00:00
main: ./cmd/cacertocsp
binary: cacert-goocsp
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
2022-09-10 08:39:57 +00:00
- 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
2022-03-21 17:46:24 +00:00
archives:
2022-09-10 08:39:57 +00:00
- id: cacert-gosigner
builds:
- linux-amd64
- linux-arm64
- linux-armhf
2022-03-21 17:46:24 +00:00
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
priority: optional
bindir: /usr/bin
2022-03-21 17:46:24 +00:00
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
2022-03-21 17:46:24 +00:00
- src: docs/cacert-goocsp.service
dst: /lib/systemd/system/cacert-goocsp.service
2022-10-11 15:59:14 +00:00
gitea_urls:
api: https://code.cacert.org/api/v1/
download: https://code.cacert.org