From 9d74adec7f45433d4978e2a6d41e9ce42c317296 Mon Sep 17 00:00:00 2001
From: Lawrence Thorpe <thorpe_lawrence@yahoo.co.uk>
Date: Mon, 23 Apr 2018 22:35:06 +0100
Subject: [PATCH] Fix appveyor deployment

---
 .appveyor.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index 2f4315a..2e2b0b2 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -24,10 +24,11 @@ build_script:
 
 after_build:
   - 7z a pixsrt-%APPVEYOR_REPO_TAG_NAME%-%BUILD%.zip .\release\*
-  - appveyor PushArtifact pixsrt-%APPVEYOR_REPO_TAG_NAME%-%BUILD%.zip
+  - if NOT "%BUILD%" == "msvc2015_64" appveyor PushArtifact pixsrt-%APPVEYOR_REPO_TAG_NAME%-%BUILD%.zip
 
 before_deploy:
   - if "%BUILD%" == "msvc2015_64" rename pixsrt-%APPVEYOR_REPO_TAG_NAME%-%BUILD%.zip pixsrt-%APPVEYOR_REPO_TAG_NAME%-win-64.zip
+  - if "%BUILD%" == "msvc2015_64" appveyor PushArtifact pixsrt-%APPVEYOR_REPO_TAG_NAME%-win-64.zip
 
 deploy:
   force_update: true