Skip to content

Commit 9e48759

Browse files
committed
chore: unify common web packages in pwsh script
1 parent fbafe71 commit 9e48759

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

update_versions.ps1

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,13 @@ param(
44

55
[string]$oldThemesVersion = "12.0.0",
66
[string]$newThemesVersion = "12.0.1",
7-
8-
[string]$oldCoreExportVersion = "2025.3.812",
9-
[string]$newCoreExportVersion = "2025.3.813",
7+
108

119
[string]$oldWebCaptchaVersion = "2.0.3",
1210
[string]$newWebCaptchaVersion = "2.0.4",
1311

14-
[string]$oldWebSpreadsheetVersion = "2025.3.812",
15-
[string]$newWebSpreadsheetVersion = "2025.3.813",
16-
17-
[string]$oldWebPDFVersion = "2025.3.812",
18-
[string]$newWebPDFVersion = "2025.3.813"
12+
[string]$oldCommonWebVersions = "2025.3.812",
13+
[string]$newCommonWebVersions = "2025.3.813"
1914
)
2015

2116
function Replace_Reference{
@@ -51,9 +46,9 @@ function Update_ProjectVersions {
5146
foreach($csprojPath in $csprojPathsToUpdate) {
5247
Replace_Reference -path $csprojPath -oldReference $oldKendoVersion -newReference $newKendoVersion
5348
Replace_Reference -path $csprojPath -oldReference "Include=""Telerik.Web.Captcha"" Version=""$oldWebCaptchaVersion""" -newReference "Include=""Telerik.Web.Captcha"" Version=""$newWebCaptchaVersion"""
54-
Replace_Reference -path $csprojPath -oldReference "Include=""Telerik.Web.PDF"" Version=""$oldWebPDFVersion""" -newReference "Include=""Telerik.Web.PDF"" Version=""$newWebPDFVersion"""
55-
Replace_Reference -path $csprojPath -oldReference "Include=""Telerik.Web.Spreadsheet"" Version=""$oldWebSpreadsheetVersion""" -newReference "Include=""Telerik.Web.Spreadsheet"" Version=""$newWebSpreadsheetVersion"""
56-
Replace_Reference -path $csprojPath -oldReference "Include=""Telerik.Core.Export"" Version=""$oldCoreExportVersion""" -newReference "Include=""Telerik.Core.Export"" Version=""$newCoreExportVersion"""
49+
Replace_Reference -path $csprojPath -oldReference "Include=""Telerik.Web.PDF"" Version=""$oldCommonWebVersions""" -newReference "Include=""Telerik.Web.PDF"" Version=""$newWebPDFVersion"""
50+
Replace_Reference -path $csprojPath -oldReference "Include=""Telerik.Web.Spreadsheet"" Version=""$oldCommonWebVersions""" -newReference "Include=""Telerik.Web.Spreadsheet"" Version=""$newCommonWebVersions"""
51+
Replace_Reference -path $csprojPath -oldReference "Include=""Telerik.Core.Export"" Version=""$oldCommonWebVersions""" -newReference "Include=""Telerik.Core.Export"" Version=""$newCommonWebVersions"""
5752
}
5853
}
5954

0 commit comments

Comments
 (0)