plakken/.goreleaser.yaml

68 lines
1.2 KiB
YAML
Raw Normal View History

2024-03-10 10:54:04 +01:00
gitea_urls:
api: https://git.gnous.eu/api/v1
download: https://git.gnous.eu
skip_tls_verify: false
2024-03-10 01:19:19 +01:00
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
builds:
-
env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- format: tar.gz
2024-05-01 21:02:04 +02:00
format_overrides:
-
goos: windows
format: zip
2024-03-10 01:19:19 +01:00
nfpms:
-
id: plakken
package_name: plakken
file_name_template: "{{ .ConventionalFileName }}"
vendor: GnousEU
homepage: https://git.gnous.eu/plakken/
2024-03-10 10:31:04 +01:00
maintainer: GnousEU <contact@gnous.eu>
2024-03-10 01:19:19 +01:00
description: A light paste server
license: AGPLv3
formats:
- deb
- rpm
- archlinux
umask: 0o002
provides:
- plakken
suggests:
- redis
contents:
- src: .env
dst: /etc/plakken/env
- src: plakken.service
dst: /usr/lib/systemd/system/plakken.service
2024-05-01 21:02:04 +02:00
scripts:
preinstall: "deployement/goreleaser/preinstall.sh"
preremove: "deployement/goreleaser/preremove.sh"
postremove: "deployement/goreleaser/postremove.sh"
2024-03-10 01:19:19 +01:00
checksum:
algorithm: sha256
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"