Skip to content

Commit 96cb711

Browse files
committed
Fix bumping version of nanoFramework
1 parent 5132b71 commit 96cb711

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Build/set-version-UnitsNet.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
}
4747

4848
# Import functions: Get-NewProjectVersion, Set-ProjectVersion, Set-AssemblyInfoVersion, Invoke-CommitAndTagVersion
49+
Remove-Module set-version -ErrorAction Ignore
4950
Import-Module "$PSScriptRoot\set-version.psm1"
5051

5152
$root = Resolve-Path "$PSScriptRoot\.."
@@ -73,6 +74,7 @@ Set-NuspecVersion $winrtNuspecFile $newVersion
7374
Get-ChildItem -Path "$root\UnitsNet.NanoFramework\GeneratedCode" -Include '*.nuspec' -Recurse |
7475
Foreach-object {
7576
Set-NuspecVersion $_.FullName $newVersion
77+
$versionFiles += $_.FullName
7678
}
7779

7880
# Git commit and tag

0 commit comments

Comments
 (0)