1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-11-19 03:25:08 +01:00
nfpm/testdata/contents.yaml
Dj Gilcrease c4ae30d749
feat: try to clean up and simplify the file adding interface (#255)
* feat: cleanup and simplify the file adding interface

* docs: update the configuration docs to focus on the new contents format for specifying files

* docs: correct spelling

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2020-12-15 13:47:00 -03:00

27 lines
635 B
YAML

name: "contents foo"
arch: "amd64"
version: "v1.2.3"
contents:
- src: "./testdata/*.conf"
dst: "/etc/foo/"
type: "config|noreplace"
file_info:
mode: 0644
- src: "./testdata/whatever2.conf"
dst: "/etc/rpm/whatever.conf"
type: "config|noreplace"
file_info:
mode: 0644
packager: "rpm"
- src: "./testdata/whatever2.conf"
dst: "/etc/apk/whatever.conf"
type: "config|noreplace"
file_info:
mode: 0644
packager: "apk"
- src: "./testdata/whatever2.conf"
dst: "/etc/deb/whatever.conf"
type: "config|noreplace"
file_info:
mode: 0644
packager: "deb"