From: Oleg Broytman Date: Sun, 1 Apr 2018 00:38:39 +0000 (+0300) Subject: CI(appveyor.yml): Build wheel on building a tag X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=commitdiff_plain;h=8bb7650b7ba4ab03d3e110a98a6e1651cfbed7be CI(appveyor.yml): Build wheel on building a tag --- 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