Skip to content

Feature Request: Publish Module Package-Only #354

@JustinGrote

Description

@JustinGrote

https://github.com/PowerShell/PowerShellGet/blob/e669ac1af1ced7ff33a2cba294cbd859e1c6ba12/srcOld/code/PublishPSResource.cs#L477

The 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions