Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
fd20b19d8f |
@ -19,15 +19,15 @@ function Replace-Version {
|
||||
}
|
||||
|
||||
# Update SoraV2BatteryHelperSetup.vdproj
|
||||
$vdprojFile = "SoraV2BatteryHelperSetup\SoraV2BatteryHelperSetup.vdproj"
|
||||
$vdprojFile = "SoraV2Utils_Setup\SoraV2Utils_Setup.vdproj"
|
||||
$vdprojPattern = '(\s*)"ProductVersion" = "8:\d+\.\d+\.\d+"'
|
||||
$vdprojReplacement = '$1"ProductVersion" = "8:' + $version + '"'
|
||||
Replace-Version -filePath $vdprojFile -regexPattern $vdprojPattern -replacement $vdprojReplacement
|
||||
|
||||
# Update AssemblyInfo.cs files
|
||||
$assemblyFiles = @(
|
||||
"SoraV2BatteryHelperSvc\Properties\AssemblyInfo.cs",
|
||||
"SoraV2BatteryHelperNotification\Properties\AssemblyInfo.cs"
|
||||
"SoraV2Utils_Service\Properties\AssemblyInfo.cs",
|
||||
"SoraV2Utils_Agent\Properties\AssemblyInfo.cs"
|
||||
)
|
||||
|
||||
$assemblyVersionPattern = '(\s*)\[assembly: AssemblyVersion\("(\d+\.\d+\.\d+\.\d+)"\)\]'
|
||||
|
Loading…
Reference in New Issue
Block a user