diff options
author | Francis Lavoie <lavofr@gmail.com> | 2020-12-30 09:28:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-30 09:28:20 -0500 |
commit | 38a83ca6f8f52d08bf47775518b51bf135978294 (patch) | |
tree | 8d496a26f5e30267d85df64e80ecd618938ef931 | |
parent | 2b90cdba52e2a4f160cdef829425bc01fbaa0d04 (diff) |
ci: Update goreleaser to fix deprecation notices (#3945)
See https://goreleaser.com/deprecations#nfpmsfiles and https://goreleaser.com/deprecations#nfpmsconfig_files
-rw-r--r-- | .goreleaser.yml | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml index 0c83f9e..9bdf221 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -84,13 +84,22 @@ nfpms: # - rpm bindir: /usr/bin - files: - ./caddy-dist/init/caddy.service: /lib/systemd/system/caddy.service - ./caddy-dist/init/caddy-api.service: /lib/systemd/system/caddy-api.service - ./caddy-dist/welcome/index.html: /usr/share/caddy/index.html - ./caddy-dist/scripts/completions/bash-completion: /etc/bash_completion.d/caddy - config_files: - ./caddy-dist/config/Caddyfile: /etc/caddy/Caddyfile + contents: + - src: ./caddy-dist/init/caddy.service + dst: /lib/systemd/system/caddy.service + + - src: ./caddy-dist/init/caddy-api.service + dst: /lib/systemd/system/caddy-api.service + + - 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: postinstall: ./caddy-dist/scripts/postinstall.sh |