File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public static class AssemblyInfo
3333 public const bool ComVisible = false ;
3434 public const string AssemblyCompany = "The CefSharp Authors" ;
3535 public const string AssemblyProduct = "CefSharp" ;
36- public const string AssemblyVersion = "37.0.0.0 " ;
36+ public const string AssemblyVersion = "37.0.0" ;
3737 public const string AssemblyFileVersion = "37.0.0.0" ;
3838 public const string AssemblyCopyright = "Copyright © The CefSharp Authors 2010-2014" ;
3939 public const string CefSharpCoreProject = "CefSharp.Core, PublicKey=" + PublicKey ;
Original file line number Diff line number Diff line change 44 [string ] $Target = " nupkg" ,
55 [Parameter (Position = 1 )]
66 [string ] $Version = " 37.0.0-pre02" ,
7- [Parameter (Position = 2 )]
7+ [Parameter (Position = 2 )]
8+ [string ] $AssemlyVersion = " 37.0.0" ,
9+ [Parameter (Position = 3 )]
810 [string ] $RedistVersion = " 3.2062.1898"
911)
1012
@@ -249,7 +251,7 @@ function WriteAssemblyVersion
249251 $Regex = ' public const string AssemblyVersion = "(.*)"' ;
250252
251253 $AssemblyInfo = Get-Content $Filename
252- $NewString = $AssemblyInfo -replace $Regex , " public const string AssemblyVersion = "" $Version "" "
254+ $NewString = $AssemblyInfo -replace $Regex , " public const string AssemblyVersion = "" $AssemlyVersion "" "
253255
254256 $NewString | Set-Content $Filename - Encoding UTF8
255257}
You can’t perform that action at this time.
0 commit comments