From 469cb10d4af97886158d65093c5c6c17bfc8a090 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 7 Mar 2016 18:01:05 -0500 Subject: [PATCH] manually package artifact during before_deploy phase The automatic packaging phase runs before the before_deploy phase which is too early so we can rely on it. --- appveyor.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 241a13e4..87da24ce 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -43,11 +43,7 @@ before_deploy: - copy target\release\mdbook.exe staging - cd staging - 7z a ../%PROJECT_NAME%-%APPVEYOR_REPO_TAG_NAME%-%TARGET%.zip * - -artifacts: - - path: $(PROJECT_NAME)-$(APPVEYOR_REPO_TAG_NAME)-$(TARGET).zip - name: $(PROJECT_NAME)-$(APPVEYOR_REPO_TAG_NAME)-$(TARGET).zip - type: zip + - appveyor PushArtifact ../%PROJECT_NAME%-%APPVEYOR_REPO_TAG_NAME%-%TARGET%.zip deploy: description: 'Windows release'