Skip to content

Commit

Permalink
fix appveyor deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik committed Mar 2, 2017
1 parent 5863b18 commit f18c4f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor/pypi_deploy.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
echo "APPVEYOR_REPO_TAG: " + $env:APPVEYOR_REPO_TAG
echo "APPVEYOR_REPO_BRANCH: " + $env:APPVEYOR_REPO_BRANCH
echo "APPVEYOR_REPO_TAG_NAME: " + $env:APPVEYOR_REPO_TAG_NAME

if (($env:APPVEYOR_REPO_TAG -eq "True") -and ($env:APPVEYOR_REPO_BRANCH.StartsWith("v"))) {
if (($env:APPVEYOR_REPO_TAG -eq "True") -and ($env:APPVEYOR_REPO_TAG_NAME.StartsWith("v"))) {
(Get-Content appveyor\.pypirc) | Foreach-Object {$_ -replace '%PASS%',$env:PYPI_PASS} | Set-Content $env:userprofile\.pypirc
Invoke-Expression "$env:CMD_IN_ENV python setup.py bdist_wheel upload"
}

0 comments on commit f18c4f3

Please sign in to comment.