Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version is failed if module has no serialized json file. #15067

Closed
dingmeng-xue opened this issue May 20, 2021 · 0 comments · Fixed by #18565
Closed

Bump version is failed if module has no serialized json file. #15067

dingmeng-xue opened this issue May 20, 2021 · 0 comments · Fixed by #18565
Assignees
Labels
Engineering feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@dingmeng-xue
Copy link
Member

serializedCmdletFile is null if module has no serialized json file for instance new module or preview module due to some reason.

Below code tries to generate cmdlet json file

But serializedCmdletFile should be fetched again. Otherwise, it throws exception and stop bumpversion pipeline.

var oldModuleMetadata = DeserializeCmdlets(serializedCmdletFile);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering feature-request This issue requires a new behavior in the product in order be resolved.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants