mirror of
https://github.com/goreleaser/nfpm
synced 2024-11-18 19:04:07 +01:00
17af87eda2
* refactor: small code improvements Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * refactor: small code improvements Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: test Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * test: race condition Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * fix: race Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * test: fix invalid file Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> * docs: fix synlinks/indent Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
28 lines
630 B
YAML
28 lines
630 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"
|
|
packager: "rpm"
|
|
file_info:
|
|
mode: 0644
|
|
- src: "./testdata/whatever2.conf"
|
|
dst: "/etc/apk/whatever.conf"
|
|
type: "config|noreplace"
|
|
packager: "apk"
|
|
file_info:
|
|
mode: 0644
|
|
- src: "./testdata/whatever2.conf"
|
|
dst: "/etc/deb/whatever.conf"
|
|
type: "config|noreplace"
|
|
packager: "deb"
|
|
file_info:
|
|
mode: 0644
|