Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Publish-Module: consider allowing custom names when loaded from path #322

@mgreenegit

Description

@mgreenegit

Please consider allowing ‘Name’ parameter when ‘Path’ is used, then pass the value as the name for the module in the package.

https://github.com/PowerShell/PowerShellGet/blob/development/PowerShellGet/public/psgetfunctions/Publish-Module.ps1#L299

Activity

bmanikm

bmanikm commented on Sep 10, 2018

@bmanikm
Contributor

@mgreenegit Could you please provide more details on the end-user scenario and expected functionality? If you know that the specified value is a module name, why can't you use the Name parameter?

mgreenegit

mgreenegit commented on Sep 12, 2018

@mgreenegit
MemberAuthor

The Name parameter only works if the module is in psmodulepath. For CI environments, it is more likely to be staged in a project or artifact folder.

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

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

      Publish-Module: consider allowing custom names when loaded from path · Issue #322 · PowerShell/PowerShellGetv2