Skip to content

Commit f2120d1

Browse files
authored
Update commit-assemblyinfo-changes.ps1
1 parent 1dabad9 commit f2120d1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

commit-assemblyinfo-changes.ps1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
# only need to commit assembly info changes when build is NOT for a pull-request
2-
if ($env:appveyor_pull_request_number)
1+
# Copyright (c) 2018 The nanoFramework project contributors
2+
# See LICENSE file in the project root for full license information.
3+
4+
# skip updating assembly info changes if build is a pull-request or not a tag
5+
if ($env:appveyor_pull_request_number -or $env:APPVEYOR_REPO_TAG -eq 'false')
36
{
4-
'Skip committing assembly info changes as this is a PR build...' | Write-Host -ForegroundColor White
7+
'Skip committing assembly info changes...' | Write-Host -ForegroundColor White
58
}
69
else
710
{

0 commit comments

Comments
 (0)