# 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" maintainer: "git@keks.cloud" 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 - src: data/gitea-page.service dst: /etc/systemd/system/gitea-page.service scripts: postinstall: "scripts/postinstall.sh" 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