Feature Request: Publish Module Package-Only
See original GitHub issueThe remaining publish to repository after this line should be gated in a switch parameter e.g. -BuildOnly
, that if specified instead emits the path to the built .nupkg file rather than publishing to a repository. This is useful if you want to use the nupkg in a different manner, say uploading to Github Artifacts, caching the build result, or other CI/CD driven activities.
Currently with PSGetv2 a workaround has to be done which is publish to a local file repository, this would be much faster and more explicit.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Solved: Feature Request: Conveniently Publish 1 Subtopic
When publishing a module for a student, I only want to publish one subtopic under the main module. Yet to do that, I...
Read more >Can we publish only dynamic feature modules when there ...
No, it's not possible. To ensure full compatibility between the base module and the dynamic feature modules, the whole App Bundle with all ......
Read more >Link and publish not the package directory but it's child dist ...
I guess many more questions and feature request are going to come up for publishing a dedicated folder (e.g. dist ) because the...
Read more >DQMH Feature Requests - NI Community - National Instruments
EDIT: We now have a place for you to post DQMH Feature requests here: ... to turn modules into installed packages with the...
Read more >PowerShell Gallery Publishing Guidelines and Best Practices
Best practices for publishing packages · Use PSScriptAnalyzer · Include documentation and examples · Be responsive to feedback · Provide modules ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @JustinGrote for Publish-PSResource we plan to add a -DestinationPath parameter (https://github.com/PowerShell/PowerShellGet/blob/0cae3522fae8f723bd9cd01bdeccfaf4f23ab09b/Docs/PublishPSResource.md#-destinationpath) which allows you to publish a nupkg to a local path…would this cover your scenario?
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.