From 8bb7650b7ba4ab03d3e110a98a6e1651cfbed7be Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 1 Apr 2018 03:38:39 +0300 Subject: [PATCH] CI(appveyor.yml): Build wheel on building a tag --- project_template/appveyor.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/project_template/appveyor.yml b/project_template/appveyor.yml index 2acab3e..5f9b60e 100644 --- a/project_template/appveyor.yml +++ b/project_template/appveyor.yml @@ -81,10 +81,12 @@ test_script: - "%CMD_IN_ENV% tox" #after_test: -# # If tests are successful, create binary package -# - "pip install wheel" -# - "%CMD_IN_ENV% python setup.py bdist_wheel" -# - ps: "ls dist" +# # If tests are successful and we've tested a tag, create binary package +# - if "%APPVEYOR_REPO_TAG%" == "true" ( +# pip install wheel && +# %CMD_IN_ENV% python setup.py bdist_wheel && +# ls dist +# ) # #artifacts: # # Archive the generated packages in the ci.appveyor.com build report -- 2.39.5