File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Copyright (c) 2018 The nanoFramework project contributors
22# See LICENSE file in the project root for full license information.
33
4- # skip updating assembly info changes if build is a pull-request or not a tag (master OR release)
5- if ($env: appveyor_pull_request_number -or
6- ($env: APPVEYOR_REPO_BRANCH -eq " master" -and $env: APPVEYOR_REPO_TAG -eq ' true' ) -or
7- ($env: APPVEYOR_REPO_BRANCH -match " ^release*" -and $env: APPVEYOR_REPO_TAG -eq ' true' ) -or
8- $env: APPVEYOR_REPO_TAG -eq " true" )
4+ # skip updating assembly info changes if build is a pull-request or not a tag (can't commit when repo is in a tag)
5+ if ($env: appveyor_pull_request_number -or $env: APPVEYOR_REPO_TAG -eq " true" )
96{
107 ' Skip committing assembly info changes...' | Write-Host - ForegroundColor White
118}
Original file line number Diff line number Diff line change 11# Copyright (c) 2018 The nanoFramework project contributors
22# See LICENSE file in the project root for full license information.
33
4- # generate change log when build is NOT a pull-request or not a tag (master OR release)
5- if ($env: appveyor_pull_request_number -or
6- ($env: APPVEYOR_REPO_BRANCH -eq " master" -and $env: APPVEYOR_REPO_TAG -eq ' true' ) -or
7- ($env: APPVEYOR_REPO_BRANCH -match " ^release*" -and $env: APPVEYOR_REPO_TAG -eq ' true' ) -or
8- $env: APPVEYOR_REPO_TAG -eq " true" )
4+ # skip generating the change log when build is a pull-request or not a tag (can't commit when repo is in a tag)
5+ if ($env: appveyor_pull_request_number -or $env: APPVEYOR_REPO_TAG -eq " true" )
96{
107 ' Skip change log processing...' | Write-Host - ForegroundColor White
118}
129else
1310{
1411 # need this to keep ruby happy
15- md c:\tmp
12+ md c:\tmp > $null
1613
1714 if ($env: APPVEYOR_REPO_BRANCH -eq " master" -or $env: APPVEYOR_REPO_BRANCH -match " ^release*" )
1815 {
You can’t perform that action at this time.
0 commit comments