Skip to content

Commit

Permalink
manually package artifact during before_deploy phase
Browse files Browse the repository at this point in the history
The automatic packaging phase runs before the before_deploy phase which is too early so we can rely
on it.
  • Loading branch information
Jorge Aparicio committed Mar 7, 2016
1 parent 0f9caf4 commit 469cb10
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 469cb10

Please sign in to comment.