PSResourceGet
PSResourceGet copied to clipboard
Publish-PSResource vs. Publish-Module
Summary of the new feature / enhancement
I've been using Publish-Module for quite a few years, and all of my modules are maintained in GitHub with local clones. When I published to the PS Gallery before, it never copied the .git and GitHub related folders. With Publish-PSResource it's copying up everything. Is there a way to filter out those folders/files during a Publish-PSResource operation?
Proposed technical implementation details (optional)
Add a -Exclude parameter maybe?
as a workaround, you can store publishable files in repository subfolder. Or "build" a module before publishing . Building means copying all required files to separate folder and publish from there.