mirror of
https://github.com/goreleaser/nfpm
synced 2024-11-18 23:14:12 +01:00
4f5362102c
* Deprecate EmptyFolders and introduce dir contents. * Handle explicit dirs with attributes correctly for Debs. * Handle explicit dirs with attributes correctly for Apks. * Sort contents by fields that are most relevant for the package. * Make deprecation warning for empty_folders consistent. * Name RPM directory tag more consistently. * Fix deprecation notice in docs. * Fix directory normalization for Debs and Apks. * Revert Apk builder size in tests. * Fix file sorting. * Fix deprecated EmptyFolders handling in info.Validate. * Fix Apk builder size in tests. * Only stat content source when necessary. * Allow src on dir content. * Small addition to file_info docs. * Fix typo in comments. Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * Remove content type fallthrough case. * Fix typo in apk tests. * Fix more typos. Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
25 lines
432 B
YAML
25 lines
432 B
YAML
name: "foo"
|
|
arch: "${BUILD_ARCH}"
|
|
platform: "linux"
|
|
version: "v1.2.3"
|
|
maintainer: "Foo Bar"
|
|
release: "4"
|
|
description: |
|
|
Foo bar
|
|
Multiple lines
|
|
vendor: "foobar"
|
|
homepage: "https://foobar.org"
|
|
license: "MIT"
|
|
contents:
|
|
- src: ./testdata/fake
|
|
dst: /etc/foo/file
|
|
- src: ./testdata/fake
|
|
dst: /etc/bar/file
|
|
- dst: /etc/bar
|
|
type: dir
|
|
- dst: /etc/baz
|
|
type: dir
|
|
file_info:
|
|
mode: 0700
|
|
group: test
|