appveyor: specify artifact for specific provider

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2019-05-20 16:25:32 +03:00
parent f0dc04da83
commit 362866ba97
2 changed files with 2 additions and 7 deletions
+1 -6
View File
@@ -70,8 +70,6 @@ test_script:
after_test:
- if "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" pip install codecov
- if "%APPVEYOR_PULL_REQUEST_NUMBER%"=="" codecov
before_deploy:
- if "%APPVEYOR_REPO_TAG%"=="true" python -m dvc pull
- if "%APPVEYOR_REPO_TAG%"=="true" .\scripts\build_windows.cmd
@@ -79,13 +77,10 @@ on_finish:
- ps: Stop-Process $AzuriteProcess
- ps: Stop-Process $OSSProcess
artifacts:
- path: dvc*.exe
name: DVC Installer
deploy:
provider: GitHub
auth_token:
secure: 25c1pNoXWbtTwUkKLcThwcl2A2xG8oXHsPuD73HVbQ7SRy9X6HzkCc2sXzhpfRtF
artifact: dvc-*\.exe
on:
APPVEYOR_REPO_TAG: true
+1 -1
View File
@@ -5,7 +5,7 @@ echo ====== Starting to build dvc installer for Windows... ======
if not exist dvc\NUL (echo Error: Please run this script from repository root && goto :error)
rmdir /Q /S build
del /Q /S "dist\*.ps1"
rmdir /Q /S dist
del /Q /S dvc.spec
del /Q /S "dvc-*.exe"