1
1
Fork 0
mirror of https://github.com/goreleaser/nfpm synced 2024-04-30 07:55:09 +02:00
nfpm/testdata/acceptance/core.env-var-version.yaml
2021-04-15 17:25:39 -03:00

36 lines
785 B
YAML

name: "foo"
arch: "${BUILD_ARCH}"
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"
contents:
- src: ./testdata/fake
dst: /usr/local/bin/fake
- src: ./testdata/acceptance/folder/**/*
dst: /usr/share/whatever/folder/
- src: ./testdata/whatever.conf
dst: /etc/foo/whatever.conf
type: config
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