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

Fix Azure pipelines variable #135

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Jaykul
Copy link

@Jaykul Jaykul commented Sep 14, 2022

Fix #134 two ways.

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

Jaykul commented Sep 14, 2022

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