File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 33 - pwsh : Write-Host "##vso[build.updatebuildnumber]$env:BUILD_SOURCEBRANCHNAME-$env:BUILD_SOURCEVERSION-$((get-date).ToString("yyyyMMddhhmmss"))"
44 displayName : Set Build Name for Non-PR
55 condition : ne(variables['Build.Reason'], 'PullRequest')
6+ - task : PowerShell@2
7+ displayName : ' Set environment variables for VSTS (Phase 1)'
8+ inputs :
9+ targetType : filePath
10+ filePath : ./tools/releaseBuild/setVstsVariables.ps1
611 - pwsh : |
7- git clone https://github.com/PowerShell/PowerShellEditorServices.git ../PowerShellEditorServices
12+ Write-Host "Cloning '$env:PSES_BRANCH' branch from '$env:PSES_FORK/PowerShellEditorServices'"
13+ git clone --single-branch --branch $env:PSES_BRANCH https://github.com/$env:PSES_FORK/PowerShellEditorServices.git ../PowerShellEditorServices
814 Install-Module InvokeBuild -Scope CurrentUser -Force
915 Install-Module PlatyPS -Scope CurrentUser -Force
1016 # Build
Original file line number Diff line number Diff line change 11$vstsVariables = @ {
22 PSES_BRANCH = ' master'
3+ PSES_FORK = ' PowerShell'
34}
45
56# Use VSTS's API to set an env vars
You can’t perform that action at this time.
0 commit comments