Skip to content

Commit 53eaccb

Browse files
authored
Work CD/CI (#54)
1 parent 35638b2 commit 53eaccb

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

commit-assemblyinfo-changes.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ else
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

generate-change-log.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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)
55
if ($env:appveyor_pull_request_number -or $env:APPVEYOR_REPO_TAG -eq "true")
66
{
77
'Skip change log processing...' | Write-Host -ForegroundColor White

update-dependencies.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# only need to update dependencies when build is a tag
55
if ($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
}
99
else
1010
{

0 commit comments

Comments
 (0)