1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-04-15 11:56:56 +02:00

docs: note trailing slash on nfpm

This commit is contained in:
Carlos A Becker 2022-11-20 14:22:19 -03:00
parent de254d582f
commit b76b65875d
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -214,6 +214,11 @@ nfpms:
owner: notRoot
group: notRoot
# If `dst` ends with a `/`, it'll create the given path and copy the given
# `src` into it, the same way `cp` works with and without trailing `/`.
- src: ./foo/bar/*
dst: /usr/local/myapp/
# Using the type 'dir', empty directories can be created. When building
# RPMs, however, this type has another important purpose: Claiming
# ownership of that folder. This is important because when upgrading or