1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-05-28 22:26:22 +02:00
nfpm/testdata/contents.yaml
Carlos Alexandro Becker 17af87eda2
fix: race condition and remove unused code (#273)
* 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>
2020-12-30 19:15:16 +00:00

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