|
@@ -1,7 +1,7 @@
|
|
|
environment:
|
|
|
|
|
|
- PYPI_USER: "dulwich-bot"
|
|
|
- PYPI_PSWD:
|
|
|
+ TWINE_USERNAME: "dulwich-bot"
|
|
|
+ TWINE_PASSWORD:
|
|
|
# See https://www.appveyor.com/docs/build-configuration/#secure-variables
|
|
|
secure: e7DTu4CwOCARfN/mwA8lXQ==
|
|
|
|
|
@@ -89,5 +89,9 @@ after_test:
|
|
|
- "build.cmd %PYTHON%\\python.exe setup.py bdist_msi"
|
|
|
- ps: "ls dist"
|
|
|
|
|
|
+deploy_script:
|
|
|
+ - if "%APPVEYOR_REPO_TAG%"=="true" pip install twine
|
|
|
+ - if "%APPVEYOR_REPO_TAG%"=="true" twine upload dist\dulwich-*.whl
|
|
|
+
|
|
|
artifacts:
|
|
|
- path: dist\*
|