Skip to content

Directory based deployment using Module deployment script only deploys the first file in the directory #757

Closed

Description

If we pass a directory (container) to the parameterFilePath parameter of the New-ModuleDeployment.ps1 script, the logic detects the directory correctly, however it only deploys the first file in that directory.

Cause:
We have a return function being called at the end of the deployment, which exits the script

 return $deploymentName

Removing this line has implications on other steps as the output is being used elsewhere.

Need to investigate other methods to achieve the same outcome.

Activity

  1. added
    bug
    on Dec 6, 2021
  2. added this to the milestone on Dec 6, 2021
  3. AlexanderSehr commented on Dec 8, 2021

    @AlexanderSehr
    Contributor

    It should work following #768 . However, need to deliberatly test it

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions