Only build appx file on release

This commit is contained in:
Jaex 2017-06-19 15:26:44 +03:00
parent 5f8cfc0eb1
commit 94233bbe33

View file

@ -4,12 +4,15 @@ if ($env:APPVEYOR_PULL_REQUEST_NUMBER -eq $null)
{ {
& "ShareX.Setup\bin\Release\ShareX.Setup.exe" -AppVeyorRelease & "ShareX.Setup\bin\Release\ShareX.Setup.exe" -AppVeyorRelease
} }
elseif ($env:CONFIGURATION -eq "Steam" -and $env:APPVEYOR_REPO_TAG -eq $true) elseif ($env:APPVEYOR_REPO_TAG -eq $true)
{ {
& "ShareX.Setup\bin\Steam\ShareX.Setup.exe" -AppVeyorSteam if ($env:CONFIGURATION -eq "Steam")
} {
elseif ($env:CONFIGURATION -eq "WindowsStore") & "ShareX.Setup\bin\Steam\ShareX.Setup.exe" -AppVeyorSteam
{ }
& "ShareX.Setup\bin\WindowsStore\ShareX.Setup.exe" -AppVeyorWindowsStore elseif ($env:CONFIGURATION -eq "WindowsStore")
{
& "ShareX.Setup\bin\WindowsStore\ShareX.Setup.exe" -AppVeyorWindowsStore
}
} }
} }