1
1
mirror of https://github.com/goreleaser/nfpm synced 2024-09-30 05:31:45 +02:00
Commit Graph

4 Commits

Author SHA1 Message Date
Marks Polakovs
f3f9718f50
fix: ensure globbed FileInfo always has correct size (#482)
When globbing a file that has a FileInfo set, we would reuse the pointer
to the original file's FileInfo even if the matched files' sizes are
different, causing deb to error when writing the data file due to
mismatching sizes.

Copy the FileInfo and recalculate its size when globbing. Add a test
case to check this scenario.

Fixes #316.
2022-03-24 22:40:07 -03:00
Mikhail f. Shiryaev
c049e1c2f9
fix: processing symlinks in directories (#453)
* fix: proceed symlinks in contents as is

* Remove dead code

* fix: make OS independent test
2022-02-11 22:47:18 -03:00
Erik Geiser
206d797843
fix: destinations for files containing matchers when globbing is disabled (#410)
* Fix destinations for files containing matchers when globbing is disabled.

* Change test case to be compatible with Windows filesystem
2021-12-01 11:38:50 -03:00
Dj Gilcrease
41077943bd
test: clean up the acceptance tests (#292) 2021-04-15 17:25:39 -03:00