2022-10-14 12:30:40 +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
goarch :
- amd64
main : ./cmd/gitea-page
checksum :
name_template : 'checksums.txt'
snapshot :
name_template : "{{ .Tag }}-next"
nfpms :
-
id : "gitea-page"
package_name : "gitea-page"
homepage : "https://www.keks.cloud"
2022-12-06 11:19:14 +00:00
maintainer : "git@keks.cloud"
2022-10-14 12:30:40 +00:00
description : "Make something like github pages, that each project can have a branch wich a webpage can be delivered via a promote server (without docker things)."
formats :
- deb
recommends :
- promote
contents :
- src : config.yml
dst : /etc/gitea-page/config.yml.example
- src : data/nginx-config-template.txt
dst : /etc/gitea-page/nginx-config-template.txt.example
- src : data/info.txt
dst : /var/gite-page
2022-12-06 11:29:46 +00:00
- src : data/gitea-page.service
2022-12-06 11:27:52 +00:00
dst : /etc/systemd/system/gitea-page.service
2022-12-06 11:19:14 +00:00
scripts :
postinstall : "scripts/postinstall.sh"
2022-10-14 12:30:40 +00:00
changelog :
sort : asc
filters :
exclude :
- '^docs:'
- '^test:'
gitea_urls :
api : https://git.keks.cloud/api/v1/
download : https://git.keks.cloud
# set to true if you use a self-signed certificate
skip_tls_verify : false