Skip to content

Commit dfbf66e

Browse files
committed
Fixed the before_build script
1 parent 93b41ec commit dfbf66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ before_build:
2323
Get-ChildItem -Path .\ -Filter project.json -Recurse -Name |
2424
ForEach {
2525
$content = Get-Content "$_"
26-
$content = $content.Replace("99.99.99-dev", "{version}$(VERSION_SUFFIX)")
26+
$content = $content.Replace("99.99.99-dev", "$($env:APPVEYOR_BUILD_VERSION)$($env:VERSION_SUFFIX)")
2727
Set-Content "$_" $content -Encoding UTF8
2828
}
2929
- appveyor-retry nuget restore -verbosity quiet

0 commit comments

Comments
 (0)