Skip to content

Commit eb4d707

Browse files
committed
chore: add trailing zeros in Web.config automation updates
1 parent 7ab10e8 commit eb4d707

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/update_versions.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ function Update_IconsWebConfig {
170170

171171
foreach($iconPackage in $iconPackages) {
172172
$webConfigContent = Replace_Reference -fileContent $webConfigContent -oldReference "<assemblyIdentity(.+)name=""${iconPackage}""(.+)\n(.+)oldVersion=""(\d).(\d).(\d).(\d)-(\d+).(\d+).(\d+)" -newReference "<assemblyIdentity name=""${iconPackage}"" publicKeyToken=""20b4b0547069c4f8"" culture=""neutral"" />
173-
<bindingRedirect oldVersion=""0.0.0.0-${newIconsVersion}"
173+
<bindingRedirect oldVersion=""0.0.0.0-${newIconsVersion}.0"
174174

175175
$webConfigContent = Replace_Reference -fileContent $webConfigContent -oldReference "<assemblyIdentity(.+)name=""${iconPackage}""(.+)\n(.+)newVersion=""(\d+).(\d+).(\d+)" -newReference "<assemblyIdentity name=""${iconPackage}"" publicKeyToken=""20b4b0547069c4f8"" culture=""neutral"" />
176-
<bindingRedirect oldVersion=""0.0.0.0-${newIconsVersion}"" newVersion=""${newIconsVersion}"
176+
<bindingRedirect oldVersion=""0.0.0.0-${newIconsVersion}.0"" newVersion=""${newIconsVersion}"
177177
}
178178

179179
return $webConfigContent
@@ -185,11 +185,11 @@ function Update_LicensingWebConfig {
185185
)
186186

187187
$webConfigContent = Replace_Reference -fileContent $webConfigContent -oldReference "<assemblyIdentity(.+)name=""Telerik.Licensing.Runtime""(.+)\n(.+)oldVersion=""(\d).(\d).(\d).(\d)-(\d+).(\d+).(\d+)" -newReference "<assemblyIdentity name=""Telerik.Licensing.Runtime"" publicKeyToken=""98bb5b04e55c09ef"" culture=""neutral"" />
188-
<bindingRedirect oldVersion=""0.0.0.0-${newLicensingVersion}"
188+
<bindingRedirect oldVersion=""0.0.0.0-${newLicensingVersion}.0"
189189

190190

191191
$webConfigContent = Replace_Reference -fileContent $webConfigContent -oldReference "<assemblyIdentity(.+)name=""Telerik.Licensing.Runtime""(.+)\n(.+)newVersion=""(\d+).(\d+).(\d+)" -newReference "<assemblyIdentity name=""Telerik.Licensing.Runtime"" publicKeyToken=""98bb5b04e55c09ef"" culture=""neutral"" />
192-
<bindingRedirect oldVersion=""0.0.0.0-${newLicensingVersion}"" newVersion=""${newLicensingVersion}"
192+
<bindingRedirect oldVersion=""0.0.0.0-${newLicensingVersion}.0"" newVersion=""${newLicensingVersion}"
193193

194194
return $webConfigContent
195195
}

0 commit comments

Comments
 (0)