Skip to content

Commit 8d708fc

Browse files
committed
Work CI-CD
- Fix expression on vairable. - Minor fixes in update dependents PS1. ***NO_CI***
1 parent d6a2d9b commit 8d708fc

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ jobs:
180180
buildConfiguration: 'Release'
181181
solution: 'nanoFirmwareFlasher.sln'
182182
run_update_dependents: $[dependencies.Check_Build_Options.outputs['BuildOptions.RUN_UPDATE_DEPENDENTS']]
183-
isTag: $[not(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))]
183+
isTag: $[startsWith(variables['Build.SourceBranch'], 'refs/tags/v')]
184184

185185
steps:
186186

@@ -439,7 +439,7 @@ jobs:
439439
{ "label" : "Type: documentation", "displayName" : "Documentation", "state" : "closed" }
440440
]
441441
442-
# update dependencies
442+
# update dependents
443443
- task: PowerShell@2
444444
condition: >-
445445
or(
@@ -463,7 +463,7 @@ jobs:
463463
condition: or( failed('Check_Build_Options'), failed('Build_tool') )
464464

465465
pool:
466-
vmImage: 'windows-2019'
466+
vmImage: 'windows-latest'
467467

468468
steps:
469469

azure-pipelines/update-dependents.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ $repoName = 'nf-VSCodeExtension'
1919
# clone repo and checkout main branch
2020
Write-Debug "Init and featch $repoName repo"
2121

22-
2322
git clone --recurse-submodules --depth 1 https://github.com/nanoframework/$repoName repo
2423
Set-Location repo | Out-Null
2524
git config --global gc.auto 0
@@ -115,5 +114,5 @@ if ($repoStatus -ne "")
115114
}
116115
else
117116
{
118-
Write-Host "Nothing udpate at nanoFramework Deployer."
117+
Write-Host "Nothing udpate at nanoFramework.Tools.FirmwareFlasher."
119118
}

0 commit comments

Comments
 (0)