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;