From 8d6ddf6d26c4201118ed6bc198d5ac7b91582498 Mon Sep 17 00:00:00 2001 From: lukeIam <2lukeiam@gmail.com> Date: Mon, 14 Aug 2017 17:55:27 +0200 Subject: [PATCH] Replaced contains with match in powershell (contains does not work for strings) --- .appveyor/prepareDeploy.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor/prepareDeploy.ps1 b/.appveyor/prepareDeploy.ps1 index 5b443dd9..6e32e3a2 100644 --- a/.appveyor/prepareDeploy.ps1 +++ b/.appveyor/prepareDeploy.ps1 @@ -35,7 +35,7 @@ if(!$releaseId){ Return; } -if($result.body -contains $Env:APPVEYOR_REPO_COMMIT){ +if($result.body -match $Env:APPVEYOR_REPO_COMMIT){ # An other build already recreated the release Write-Host "An other build already recreated the release" Return;