Skip to content

Commit

Permalink
ci: hopefully fixed appveyor on_success step
Browse files Browse the repository at this point in the history
  • Loading branch information
swistakm committed Aug 11, 2017
1 parent 87708bc commit 1734aab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,15 @@ build_script:

on_success:
- ps: |
if ($APPVEYOR_REPO_BRANCH -eq "master")
if ($env:APPVEYOR_REPO_BRANCH -eq "master")
{
python.exe -m pip install dropbox
python.exe ci/dropbox_upload.py $(python.exe setup.py --version)
}
else
{
Write-Host "Not a master branch. Upload skipped."
}
artifacts:
- path: dist\*

0 comments on commit 1734aab

Please sign in to comment.