Skip to content

Fix Azure pipelines variable - #135

Open
Jaykul wants to merge 2 commits into
PowerShellOrg:masterfrom
Jaykul:fix/AzurePipelinesVariable
Open

Fix Azure pipelines variable#135
Jaykul wants to merge 2 commits into
PowerShellOrg:masterfrom
Jaykul:fix/AzurePipelinesVariable

Conversation

@Jaykul

@Jaykul Jaykul commented Sep 14, 2022

Copy link
Copy Markdown

Fix #134 two ways.

The -Value must be string, and coercion fails for an array with this syntax
@Jaykul

Jaykul commented Sep 14, 2022

Copy link
Copy Markdown
Author

Honestly, in Get-ProjectName I would rather add a test for the root folder being a single character (e.g. Azure's "s" folders) and go straight to reading the value from the git origin -- or at least move that higher, since it seems to me more likely to be right than this "look for random psd1 files" bit.

@Jaykul Jaykul changed the title Fix/azure pipelines variable Fix Azure pipelines variable Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error in Azure Pipeline when Get-ProjectName returns multiple items

1 participant