diff options
| author | JakobL-MSFT <[email protected]> | 2024-01-20 17:22:53 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-01-20 17:22:53 -0800 |
| commit | 6ac1123574e4f670b62f2b6258c31458a471f1c9 (patch) | |
| tree | 21f5a06c2fd2da836b2f4e0e39f5b183f9375509 /Build-SampleSet.ps1 | |
| parent | f7fc914c27922a0944dc8140dc2a1ebb66cfab73 (diff) | |
For Build-AllSamples.ps1: For EWDK: Log full build lab string. (#1079)
user/jakob/ewdk_print_buildlab
Diffstat (limited to 'Build-SampleSet.ps1')
| -rw-r--r-- | Build-SampleSet.ps1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build-SampleSet.ps1 b/Build-SampleSet.ps1 index 2c75143a..b1489e20 100644 --- a/Build-SampleSet.ps1 +++ b/Build-SampleSet.ps1 @@ -51,10 +51,10 @@ finally { $build_environment="" $build_number=0 # -# EWDK sets environment variable Version_Number. For example '10.0.22621.0'. +# EWDK sets environment variable BuildLab. For example 'ni_release_svc_prod1.22621.2428'. # -if($env:Version_Number -match '10.0.(?<build>.*).0') { - $build_environment="EWDK" +if($env:BuildLab -match '(?<branch>[^.]*).(?<build>[^.]*).(?<qfe>[^.]*)') { + $build_environment=("EWDK."+$Matches.branch+"."+$Matches.build+"."+$Matches.qfe) $build_number=$Matches.build } # |
