goreleaser / nfpm

nFPM is Not FPM - a simple deb, rpm, apk, ipk, and arch linux packager written in Go
https://nfpm.goreleaser.com/
MIT License
2.18k stars 159 forks source link

feat: Added "excludes" option to prevent packing unnecessary files #822

Closed KenichiTanino closed 5 months ago

KenichiTanino commented 6 months ago

For the type:tree option or when using glob settings, an excludes setting has been added. If the excludes setting is specified, the target files will not be copied to the dst directory.

for examples:

contents:
  - src: ./service
    dst: /service
    type: tree
    excludes:
      - /service/folder
      - /service/etc
caarlos0 commented 5 months ago

sorry, not sure i want to complicate even more the files interface

KenichiTanino commented 5 months ago

sorry, not sure i want to complicate even more the files interface

Understood. Then I will close the issue.