diff --git a/commit-assemblyinfo-changes.ps1 b/commit-assemblyinfo-changes.ps1 index 961798c2..8fb2d614 100644 --- a/commit-assemblyinfo-changes.ps1 +++ b/commit-assemblyinfo-changes.ps1 @@ -15,6 +15,12 @@ else 'Updated assembly info...' | Write-Host -ForegroundColor White -NoNewline 'OK' | Write-Host -ForegroundColor Green +} + +# update assembly info in nf-interpreter if this is tag +if ($env:APPVEYOR_REPO_TAG -eq "true") +{ + 'Updating assembly version in nf-interpreter...' | Write-Host -ForegroundColor White -NoNewline # clone nf-interpreter repo (only a shallow clone with last commit) git clone https://github.com/nanoframework/nf-interpreter -b develop --depth 1 -q diff --git a/generate-change-log.ps1 b/generate-change-log.ps1 index 772fa88b..9900d9c0 100644 --- a/generate-change-log.ps1 +++ b/generate-change-log.ps1 @@ -1,7 +1,7 @@ # Copyright (c) 2018 The nanoFramework project contributors # See LICENSE file in the project root for full license information. -# generate change log when build is NOT for a pull-request +# skip generating the change log when build is a pull-request or not a tag (can't commit when repo is in a tag) if ($env:appveyor_pull_request_number -or $env:APPVEYOR_REPO_TAG -eq "true") { 'Skip change log processing...' | Write-Host -ForegroundColor White diff --git a/update-dependencies.ps1 b/update-dependencies.ps1 index ee21364e..ef6c1db0 100644 --- a/update-dependencies.ps1 +++ b/update-dependencies.ps1 @@ -4,7 +4,7 @@ # only need to update dependencies when build is a tag if ($env:appveyor_pull_request_number -or $env:APPVEYOR_REPO_TAG -eq "false") { - 'Skip updating dependencies as this is not a tag build...' | Write-Host -ForegroundColor White + 'Skip updating dependencies...' | Write-Host -ForegroundColor White } else {