We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddfe607 commit b527f2aCopy full SHA for b527f2a
CI/deploy.ps1
@@ -13,18 +13,18 @@ Param (
13
$projectBuildNumber
14
)
15
16
+$fd = $false;
17
+$hd = $false;
18
$login = $variables["SecureLogin"]
19
$pass = $variables["SecurePass"]
-$fd = false;
-$hd = false;
20
21
foreach($artifact in $artifacts.values)
22
{
23
Write-Output "Upload artifact: $($artifact.name)"
24
$ext = [System.IO.Path]::GetExtension($artifact.name)
25
$name = [System.IO.Path]::GetFileNameWithoutExtension($artifact.name)
26
- IF ($name -contains "FlashDevelop") { $fd = true; }
27
- IF ($name -contains "HaxeDevelop") { $hd = true; }
+ IF ($name -match "FlashDevelop") { $fd = $true; }
+ IF ($name -match "HaxeDevelop") { $hd = $true; }
28
IF ($ext -eq ".xml")
29
30
# Upload appman.xml file
0 commit comments