From ef6aaa0ef0aa5761ba130397bd9b4f2a412d9aa6 Mon Sep 17 00:00:00 2001 From: AlisherAmonulloev Date: Thu, 12 Dec 2024 11:10:03 +0200 Subject: [PATCH 1/2] Update test-example.ps1 --- test-example.ps1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test-example.ps1 b/test-example.ps1 index 5c802a4..ce4c686 100644 --- a/test-example.ps1 +++ b/test-example.ps1 @@ -1,6 +1,6 @@ Write-Output "Branch name: $env:branchName" $global:inputVersion = $env:branchName -$global:LASTEXITCODE = 0 +$global:errorCode = 0 $BUILD_VERSIONS_LIST = "BUILD_VERSIONS_LIST" @@ -25,8 +25,8 @@ function Process-JavaScriptProjects { [hashtable[]]$Folders = @( @{ Name = "jQuery"; Packages = @("devextreme-dist", "devextreme") }, @{ Name = "Angular"; Packages = @("devextreme-angular", "devextreme") }, - @{ Name = "Vue"; Packages = @("devextreme-vue", "devextreme") }, - @{ Name = "React"; Packages = @("devextreme-react", "devextreme") } + @{ Name = "React"; Packages = @("devextreme-react", "devextreme") }, + @{ Name = "Vue"; Packages = @("devextreme-vue", "devextreme") } ) ) Write-Host "`n--== Processing JavaScript Projects ==--" @@ -54,7 +54,7 @@ function Process-JavaScriptProjects { $installResult = & npm install --force --no-fund --loglevel=error -PassThru if ($LASTEXITCODE -ne 0) { Write-Error "ERROR: npm install failed in $($folder.Name)" - $global:LASTEXITCODE = 1 + $global:errorCode = 1 } Write-Host "`n<-- Updating packages... -->" @@ -63,7 +63,7 @@ function Process-JavaScriptProjects { $buildResult = & npm run build if ($LASTEXITCODE -ne 0) { Write-Error "ERROR: npm run build failed in $($folder.Name)" - $global:LASTEXITCODE = 1 + $global:errorCode = 1 } Set-Location .. @@ -92,7 +92,7 @@ function Process-DotNetProjects { Write-Host "Build succeeded for $($slnFile.FullName)." } else { Write-Error "Build failed for $($slnFile.FullName)." - $global:LASTEXITCODE = 1 + $global:errorCode = 1 } } } @@ -139,6 +139,6 @@ Set-BuildVersion Process-JavaScriptProjects Process-DotNetProjects -Write-Host "Error code: $global:LASTEXITCODE" +Write-Host "Error code: $global:errorCode" -exit $global:LASTEXITCODE +exit $global:errorCode From 18c4aeb0e1dc38c4bbb2f5a393995009db44b146 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Thu, 12 Dec 2024 13:12:35 +0400 Subject: [PATCH 2/2] README auto update [skip ci] --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 15b3351..c8b1ed7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -![](https://img.shields.io/endpoint?url=https://codecentral.devexpress.com/api/v1/VersionRange/800447205/23.1.3%2B) [![](https://img.shields.io/badge/Open_in_DevExpress_Support_Center-FF7200?style=flat-square&logo=DevExpress&logoColor=white)](https://supportcenter.devexpress.com/ticket/details/T1233410) [![](https://img.shields.io/badge/📖_How_to_use_DevExpress_Examples-e9f6fc?style=flat-square)](https://docs.devexpress.com/GeneralInformation/403183) [![](https://img.shields.io/badge/💬_Leave_Feedback-feecdd?style=flat-square)](#does-this-example-address-your-development-requirementsobjectives)