mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-27 14:13:48 +03:00
ci: Update goreleaser to fix deprecation notices (#3945)
See https://goreleaser.com/deprecations#nfpmsfiles and https://goreleaser.com/deprecations#nfpmsconfig_files
This commit is contained in:
parent
2b90cdba52
commit
38a83ca6f8
1 changed files with 16 additions and 7 deletions
|
@ -84,13 +84,22 @@ nfpms:
|
||||||
# - rpm
|
# - rpm
|
||||||
|
|
||||||
bindir: /usr/bin
|
bindir: /usr/bin
|
||||||
files:
|
contents:
|
||||||
./caddy-dist/init/caddy.service: /lib/systemd/system/caddy.service
|
- src: ./caddy-dist/init/caddy.service
|
||||||
./caddy-dist/init/caddy-api.service: /lib/systemd/system/caddy-api.service
|
dst: /lib/systemd/system/caddy.service
|
||||||
./caddy-dist/welcome/index.html: /usr/share/caddy/index.html
|
|
||||||
./caddy-dist/scripts/completions/bash-completion: /etc/bash_completion.d/caddy
|
- src: ./caddy-dist/init/caddy-api.service
|
||||||
config_files:
|
dst: /lib/systemd/system/caddy-api.service
|
||||||
./caddy-dist/config/Caddyfile: /etc/caddy/Caddyfile
|
|
||||||
|
- src: ./caddy-dist/welcome/index.html
|
||||||
|
dst: /usr/share/caddy/index.html
|
||||||
|
|
||||||
|
- src: ./caddy-dist/scripts/completions/bash-completion
|
||||||
|
dst: /etc/bash_completion.d/caddy
|
||||||
|
|
||||||
|
- src: ./caddy-dist/config/Caddyfile
|
||||||
|
dst: /etc/caddy/Caddyfile
|
||||||
|
type: config
|
||||||
|
|
||||||
scripts:
|
scripts:
|
||||||
postinstall: ./caddy-dist/scripts/postinstall.sh
|
postinstall: ./caddy-dist/scripts/postinstall.sh
|
||||||
|
|
Loading…
Reference in a new issue