Skip to content

Conversation

@lhorsager
Copy link

If you use the same source for multiple builds the current script always updates the variables on the first build, not on the current build. This update sets the build version per build independently.

If you use the same source for multiple builds the current script always updates the variables on the first build, not on the current build.  This update sets the build version per build independently.
@mattcorr mattcorr self-assigned this Jun 12, 2019

# Find the build definition for this project
$buildDef = $buildDefs.value | Where-Object { $_.Project.id -eq $ProjectId }
$buildDef = $buildDefs.value | Where-Object { $_.Project.id -eq $ProjectId -and ($_.name -eq $buildName }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like there is no matching bracket for the one just before $_.name. I would suggest removing that, and the PR will be approved.

@mattcorr
Copy link
Contributor

Thanks for your PR! I have reviewed and have a comment about it.

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.

2 participants