From febd41984224b57c0bbc260a2fc5c16032f1c04e Mon Sep 17 00:00:00 2001 From: AlisherAmonulloev Date: Mon, 16 Dec 2024 10:47:35 +0200 Subject: [PATCH 1/3] Delete README.md --- TEMP/README.md | 1 - 1 file changed, 1 deletion(-) delete mode 100644 TEMP/README.md diff --git a/TEMP/README.md b/TEMP/README.md deleted file mode 100644 index c8934c4..0000000 --- a/TEMP/README.md +++ /dev/null @@ -1 +0,0 @@ -Example testing failed: [Example testing failed](https://example-testing-failed.com/) From 1840c843243c8fbbb1d67b32d461a9912f4c8708 Mon Sep 17 00:00:00 2001 From: DevExpressExampleBot Date: Mon, 16 Dec 2024 12:49:59 +0400 Subject: [PATCH 2/3] 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) From 5181351cd501eacbceacade4b4834d48b68523c9 Mon Sep 17 00:00:00 2001 From: AlisherAmonulloev Date: Mon, 16 Dec 2024 10:50:43 +0200 Subject: [PATCH 3/3] Update test-example.ps1 --- test-example.ps1 | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/test-example.ps1 b/test-example.ps1 index f7a6dc6..4b95a71 100644 --- a/test-example.ps1 +++ b/test-example.ps1 @@ -146,35 +146,12 @@ function Set-BuildVersion { Write-Output "New List: $updatedList" } -function Set-TestingFailed { - $TempDirectory = Join-Path -Path $env:WORKSPACE -ChildPath "TEMP" - if (-not (Test-Path -Path $TempDirectory)) { - Write-Output "`nCreating a temp directory at $TempDirectory" - New-Item -ItemType Directory -Path $TempDirectory | Out-Null - } - - $ReadmeFile = Join-Path -Path $TempDirectory -ChildPath "README.md" - - $Content = "Example testing failed: [Example testing failed](https://example-testing-failed.com/)" - Write-Output "`nWriting a file with invalid link to a temp directory at $TempDirectory" - Set-Content -Path $ReadmeFile -Value $Content -} - Write-Output "`nBranch Name: $env:branchName" Set-BuildVersion -if (-not $global:buildVersion) { - Write-Output "`nThe buildVersion is null or an empty string." - Set-TestingFailed - [System.Environment]::Exit($global:errorCode) -} Process-JavaScriptProjects -buildVersion $global:buildVersion Process-DotNetProjects Write-Output "`nFinished testing. Error code: $global:errorCode" -if ($global:errorCode -ne 0) { - Set-TestingFailed -} - [System.Environment]::Exit($global:errorCode)