From 0021b76083427d146b951959e173b017b52e00d3 Mon Sep 17 00:00:00 2001 From: lukeIam Date: Wed, 14 Oct 2015 17:00:12 +0200 Subject: [PATCH] Fixed: variable not correctly escaped --- .appveyor/prepareDeploy.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.appveyor/prepareDeploy.ps1 b/.appveyor/prepareDeploy.ps1 index 0ff8a05a..bf506be5 100644 --- a/.appveyor/prepareDeploy.ps1 +++ b/.appveyor/prepareDeploy.ps1 @@ -26,11 +26,11 @@ catch [System.Net.WebException] Return; } -$assetId = ($result.assets | where {$_.name -EQ "Vocaluxe_$Env:APPVEYOR_REPO_TAG_NAME_Windows_$Env:PLATFORM.zip" } | Select-Object -first 1 ).id +$assetId = ($result.assets | where {$_.name -EQ "Vocaluxe_$($Env:APPVEYOR_REPO_TAG_NAME)_Windows_$($Env:PLATFORM).zip" } | Select-Object -first 1 ).id if(!$assetId){ # No matching asset found in this release - Write-Host "No matching asset found in this release: Vocaluxe_$Env:APPVEYOR_REPO_TAG_NAME_Windows_$Env:PLATFORM.zip" + Write-Host "No matching asset found in this release: Vocaluxe_$($Env:APPVEYOR_REPO_TAG_NAME)_Windows_$($Env:PLATFORM).zip" Return; }