From 362866ba9714e164562ff1882ed57dee450f89ce Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 20 May 2019 16:25:32 +0300 Subject: [PATCH] appveyor: specify artifact for specific provider Signed-off-by: Ruslan Kuprieiev --- .appveyor.yml | 7 +------ scripts/build_windows.cmd | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 188312bfd..e94f7d5ff 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -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 diff --git a/scripts/build_windows.cmd b/scripts/build_windows.cmd index cac3f9511..7c38380df 100644 --- a/scripts/build_windows.cmd +++ b/scripts/build_windows.cmd @@ -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"