Use test script to push artifacts and rename with 'windows' suffix.

This commit is contained in:
Nolan Darilek 2019-09-12 17:04:52 -05:00
parent b7a88b0e83
commit 804fb80d4e

View File

@ -16,12 +16,9 @@ install:
build: false build: false
test_script: test_script:
- cargo build
before_deploy:
- cargo build --release - cargo build --release
- cmd: mkdir -p staging\godot-tts\target\release - cmd: mkdir -p staging\godot-tts\target\release
- cmd: copy target\release\*.dll staging\godot-tts\target\release - cmd: copy target\release\*.dll staging\godot-tts\target\release
- cmd: cd staging - cmd: cd staging
- cmd: 7z a ../%PROJECT_NAME%.zip * - cmd: 7z a ../%PROJECT_NAME%-windows.zip *
- cmd: appveyor PushArtifact ../%PROJECT_NAME%.zip - cmd: appveyor PushArtifact ../%PROJECT_NAME%-windows.zip