You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compress-PSResource ignores files and folders #1882
Compress-PSResource completely ignored and didn't compress following paths while preparing a module for publishing:
Public\.gitkeep # the folder contiain only this file, and the file IS empty
Private\.gitkeep # the folder contiain only this file, and the file IS NOT empty
Previous pipeline step generated file catalog for the module, with the two pats included, and published module failed installing as there was signature mismatch.
Activity
tdr2378 commentedon Sep 24, 2025
The issue seem to be here:
PSResourceGet/src/code/PublishHelper.cs
Line 601 in 3d28924
according to https://learn.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-pack the removal is default behavior if not NoDefaultExcludes is used