-
Notifications
You must be signed in to change notification settings - Fork 68
Add script to create the NuGet package from the online build artifacts #23
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
Conversation
5be1949
to
768cbb9
Compare
return $output | ||
} | ||
|
||
function Extract-BuildIdentifier($statutes, $forContext) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't help but think this whole function is written in a very clumsy way... Any refactoring proposal?
768cbb9
to
3b4eed1
Compare
return $output | ||
} | ||
|
||
function Extract-BuildIdentifier($statutes, $forContext) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a way to make this more powershell-y?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Typo in variable name
$status = $statuses | where { $_.context -eq $forContext } | select -First 1
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dahlbyk Brilliant! ❤️ fixed
3b4eed1
to
da64485
Compare
Add script to create the NuGet package from the online build artifacts
I know you just merged this in, but I just wanted to say that I finally had some time to check it out and it looks good to me! The only thing that you could do is add |
Fix #22
PowerShell not being my forte, I'd be really grateful for an early feedback
/cc @bording @dahlbyk