From f18c4f33a67754f86b48e50fdeecbb109bacffb5 Mon Sep 17 00:00:00 2001 From: Maik Riechert Date: Thu, 2 Mar 2017 19:33:46 +0000 Subject: [PATCH] fix appveyor deploy script --- appveyor/pypi_deploy.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor/pypi_deploy.ps1 b/appveyor/pypi_deploy.ps1 index 8035872..c548448 100644 --- a/appveyor/pypi_deploy.ps1 +++ b/appveyor/pypi_deploy.ps1 @@ -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" }