From ac6fae6542051cfc8cb8d5eff202b3e2c04df8f8 Mon Sep 17 00:00:00 2001 From: mlangkabel Date: Tue, 31 Oct 2017 16:29:17 +0100 Subject: [PATCH] refactor appveyor publishing policy --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 06cbc16..0f34baa 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,5 +25,5 @@ test_script: - ps: VSTest.Console.exe C:\projects\vs-sourcetrail\SourcetrailExtensionTests\bin\Release\SourcetrailExtension.Tests.dll after_test: - - ps: if ($env:APPVEYOR_REPO_BRANCH -eq 'master' -and $env:APPVEYOR_REPO_TAG -eq 'true') { Vsix-PushArtifacts | Vsix-PublishToGallery } - - ps: if ($env:APPVEYOR_REPO_BRANCH -ne 'master' -or $env:APPVEYOR_REPO_TAG -ne 'true') { Vsix-PushArtifacts } + - ps: if ($env:APPVEYOR_REPO_BRANCH -eq 'master' -and $env:APPVEYOR_REPO_TAG -eq 'true') { Vsix-PublishToGallery } + - ps: Vsix-PushArtifacts