File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1515
1616 ' Updated assembly info...' | Write-Host - ForegroundColor White - NoNewline
1717 ' OK' | Write-Host - ForegroundColor Green
18+ }
19+
20+ # update assembly info in nf-interpreter if this is tag
21+ if ($env: APPVEYOR_REPO_TAG -eq " true" )
22+ {
23+ ' Updating assembly version in nf-interpreter...' | Write-Host - ForegroundColor White - NoNewline
1824
1925 # clone nf-interpreter repo (only a shallow clone with last commit)
2026 git clone https:// github.com / nanoframework/ nf- interpreter - b develop -- depth 1 - q
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 for a pull-request
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)
55if ($env: appveyor_pull_request_number -or $env: APPVEYOR_REPO_TAG -eq " true" )
66{
77 ' Skip change log processing...' | Write-Host - ForegroundColor White
Original file line number Diff line number Diff line change 44# only need to update dependencies when build is a tag
55if ($env: appveyor_pull_request_number -or $env: APPVEYOR_REPO_TAG -eq " false" )
66{
7- ' Skip updating dependencies as this is not a tag build ...' | Write-Host - ForegroundColor White
7+ ' Skip updating dependencies...' | Write-Host - ForegroundColor White
88}
99else
1010{
You can’t perform that action at this time.
0 commit comments