mirror of
https://github.com/goreleaser/nfpm
synced 2024-11-19 03:25:08 +01:00
c4ae30d749
* 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>
27 lines
635 B
YAML
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" |