]> git.phdru.name Git - cookiecutter.git/blobdiff - project_template/appveyor.yml
CI(appveyor.yml): Build wheel on building a tag
[cookiecutter.git] / project_template / appveyor.yml
index 2acab3eddab129de46871eb3aee88b080ffc1108..5f9b60e16f2adba825567cf19d9289eebe5f4ed0 100644 (file)
@@ -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