Skip to content

Commit 3eaaaac

Browse files
committed
Update versioning in appveyor
1 parent f20afb2 commit 3eaaaac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ build_script:
33
- ps: >-
44
[xml]$doc = (Get-Content .\RawDiskLib\RawDiskLib.csproj)
55
6-
$version = $doc.Project.PropertyGroup.VersionPrefix
6+
[string]$version = $doc.Project.PropertyGroup.VersionPrefix
77
8-
Update-AppveyorBuild -Version "$version.$env:APPVEYOR_BUILD_NUMBER"
8+
Update-AppveyorBuild -Version "$($version.Trim()).$env:APPVEYOR_BUILD_NUMBER"
99
- ps: # Library
1010
- ps: msbuild /t:Build /p:Configuration=Release RawDiskLib
1111
- ps: # Pack Library

0 commit comments

Comments
 (0)