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.09k stars 154 forks source link

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

Closed KenichiTanino closed 1 week ago

KenichiTanino commented 2 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 1 week ago

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

KenichiTanino commented 1 week ago

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

Understood. Then I will close the issue.