github.com/goreleaser/nfpm/v2@v2.44.0/testdata/env-fields.yaml (about)

     1  # Configuration file used to unit test overrides
     2  name: "foo"
     3  arch: "amd64"
     4  version: "v$GOROOT"
     5  release: ${TEST_RELEASE_ENV_VAR}
     6  prerelease: ${TEST_PRERELEASE_ENV_VAR}
     7  description: My ${TEST_DESCRIPTION_ENV_VAR}
     8  contents:
     9  - src: ./testdata/whatever.conf
    10    dst: /etc/foo/regular.conf
    11    type: config
    12  - src: ./testdata/whatever.conf
    13    dst: /deb/path
    14    type: config
    15    packager: deb
    16  - src: ./testdata/whatever.conf
    17    dst: /rpm/path
    18    type: config
    19    packager: rpm
    20  rpm:
    21    signature:
    22      key_file: ${RPM_KEY_FILE}
    23  deb:
    24    signature:
    25      key_file: hard/coded/file
    26  apk:
    27    signature:
    28      key_file: ${NO_ENV_VAR_SET_SO_SHOULD_BE_EMPTY}
    29  overrides:
    30    deb:
    31      depends:
    32        - deb_depend
    33    rpm:
    34      depends:
    35        - rpm_depend