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:
parent
0f9caf4410
commit
469cb10d4a
|
@ -43,11 +43,7 @@ before_deploy:
|
||||||
- copy target\release\mdbook.exe staging
|
- copy target\release\mdbook.exe staging
|
||||||
- cd staging
|
- cd staging
|
||||||
- 7z a ../%PROJECT_NAME%-%APPVEYOR_REPO_TAG_NAME%-%TARGET%.zip *
|
- 7z a ../%PROJECT_NAME%-%APPVEYOR_REPO_TAG_NAME%-%TARGET%.zip *
|
||||||
|
- appveyor PushArtifact ../%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
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
description: 'Windows release'
|
description: 'Windows release'
|
||||||
|
|
Loading…
Reference in New Issue