1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-06-03 07:36:18 +02:00
nfpm/testdata/acceptance/env-var-version.yaml

33 lines
746 B
YAML
Raw Normal View History

name: "foo"
arch: "amd64"
platform: "linux"
version: "${SEMVER}"
maintainer: "Foo Bar"
depends:
- bash
provides:
- fake
replaces:
- foo
suggests:
- zsh
description: |
Foo bar
Multiple lines
vendor: "foobar"
homepage: "https://foobar.org"
license: "MIT"
files:
./testdata/fake: "/usr/local/bin/fake"
./testdata/acceptance/folder/**/*: "/usr/share/whatever/folder/"
config_files:
./testdata/whatever.conf: "/etc/foo/whatever.conf"
empty_folders:
- /var/log/whatever
- /usr/share/foo
scripts:
preinstall: ./testdata/acceptance/scripts/preinstall.sh
postinstall: ./testdata/acceptance/scripts/postinstall.sh
preremove: ./testdata/acceptance/scripts/preremove.sh
postremove: ./testdata/acceptance/scripts/postremove.sh