Skip to content

Compress-PSResource ignores files and folders #1882

Description

@tdr2378

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

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.

The issue is probably related to #1819

Expected behavior

All files and folders are compressed and part of the nupkg file

Actual behavior

Certain paths get ignored

Error details

Environment data

-

Visuals

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions