http-server-status/.goreleaser.yml

47 lines
1.1 KiB
YAML
Raw 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
archives:
- replacements:
darwin: Darwin
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
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:
id: "http-server-status"
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
dst: /etc/systemd/system/http-server-status.service