http-server-status/.goreleaser.yml

52 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2021-09-20 09:28:00 +00:00
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
#- windows
#- darwin
2021-09-20 09:51:25 +00:00
goarch:
- amd64
2021-11-25 01:35:17 +00:00
ldflags:
- -X main.version={{ .Version }}
2021-09-20 09:28:00 +00:00
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
2021-09-20 10:46:00 +00:00
- '^dev:'
2021-09-20 09:33:14 +00:00
gitea_urls:
api: https://git.keks.cloud/api/v1/
download: https://git.keks.cloud
# set to true if you use a self-signed certificate
2021-09-20 09:44:27 +00:00
skip_tls_verify: false
nfpms:
2021-09-20 09:47:31 +00:00
- id: "http-server-status"
2021-09-20 09:44:27 +00:00
package_name: "http-server-status"
vendor: kekskurse
homepage: https://git.keks.cloud/kekskurse/http-server-status
maintainer: hello@kekskurse.de
description: Stauts Page for Server
license: Apache 2.0
formats:
- deb
contents:
- src: init/http-server-status.service
2021-09-20 10:51:51 +00:00
dst: /etc/systemd/system/http-server-status.service
- src: config.yml
2021-09-20 21:39:24 +00:00
dst: /etc/http-server-status/config.yml.sample
scripts:
2021-11-29 05:12:26 +00:00
postinstall: "scripts/postinstall.sh"
2021-11-29 06:09:13 +00:00
preinstall: "scripts/preinstall.sh"