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.
This commit is contained in:
Jorge Aparicio 2016-03-07 18:01:05 -05:00
parent 0f9caf4410
commit 469cb10d4a
1 changed files with 1 additions and 5 deletions

View File

@ -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'