Skip to content

Commit cbaabef

Browse files
authored
Update update-dependencies.ps1
1 parent a34acfc commit cbaabef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

update-dependencies.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Copyright (c) 2018 The nanoFramework project contributors
22
# See LICENSE file in the project root for full license information.
33

4-
# only need to update dependencies when build is NOT for a pull-request
5-
if ($env:appveyor_pull_request_number)
4+
# skip updating dependencies if build is a pull-request or not a tag
5+
if ($env:appveyor_pull_request_number -or $env:APPVEYOR_REPO_TAG -eq 'false')
66
{
7-
'Skip updating dependencies as this is a PR build...' | Write-Host -ForegroundColor White
7+
'Skip updating dependencies...' | Write-Host -ForegroundColor White
88
}
99
else
1010
{

0 commit comments

Comments
 (0)