Compare commits

..

No commits in common. "main" and "1.0.1" have entirely different histories.
main ... 1.0.1

View File

@ -19,15 +19,15 @@ function Replace-Version {
}
# Update SoraV2BatteryHelperSetup.vdproj
$vdprojFile = "SoraV2Utils_Setup\SoraV2Utils_Setup.vdproj"
$vdprojFile = "SoraV2BatteryHelperSetup\SoraV2BatteryHelperSetup.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 = @(
"SoraV2Utils_Service\Properties\AssemblyInfo.cs",
"SoraV2Utils_Agent\Properties\AssemblyInfo.cs"
"SoraV2BatteryHelperSvc\Properties\AssemblyInfo.cs",
"SoraV2BatteryHelperNotification\Properties\AssemblyInfo.cs"
)
$assemblyVersionPattern = '(\s*)\[assembly: AssemblyVersion\("(\d+\.\d+\.\d+\.\d+)"\)\]'