i'm trying to set the BuildConfiguration based on the triggered branch using powershell
anyone know how this could be done?
switch($env:Build.SourceBranchName) {
'master' {$env:BuildConfiguration = Release; break;}
'staging' {$env:BuildConfiguration = Staging; break;}
'develop' {$env:BuildConfiguration = Dev; break;}
}