Skip to content

Commit b527f2a

Browse files
committed
Deploy script fix...
1 parent ddfe607 commit b527f2a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CI/deploy.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ Param (
1313
$projectBuildNumber
1414
)
1515

16+
$fd = $false;
17+
$hd = $false;
1618
$login = $variables["SecureLogin"]
1719
$pass = $variables["SecurePass"]
18-
$fd = false;
19-
$hd = false;
2020

2121
foreach($artifact in $artifacts.values)
2222
{
2323
Write-Output "Upload artifact: $($artifact.name)"
2424
$ext = [System.IO.Path]::GetExtension($artifact.name)
2525
$name = [System.IO.Path]::GetFileNameWithoutExtension($artifact.name)
26-
IF ($name -contains "FlashDevelop") { $fd = true; }
27-
IF ($name -contains "HaxeDevelop") { $hd = true; }
26+
IF ($name -match "FlashDevelop") { $fd = $true; }
27+
IF ($name -match "HaxeDevelop") { $hd = $true; }
2828
IF ($ext -eq ".xml")
2929
{
3030
# Upload appman.xml file

0 commit comments

Comments
 (0)