Remove check for branch of tags in examples/travis-ci-test-and-deploy.yml; fix #246

This commit is contained in:
Yannick Jadoul
2020-01-16 17:17:20 +01:00
parent d17517902e
commit 9d44d9edf0
+5 -3
View File
@@ -28,10 +28,12 @@ script:
stages:
- test
# Only execute deployment stage on master branch, tagged commits,
# and from your repository (e.g. not PRs). Replace with your repo name.
# Only execute deployment stage on tagged commits, and from your repository
# (e.g. not PRs). Replace with your repo name.
- name: deploy
if: branch = master AND tag IS PRESENT AND repo = joerick/cibuildwheel
if: tag IS PRESENT AND repo = joerick/cibuildwheel
# To only build tags that look like vX.Y.Z:
# if: tag =~ ^v\d+\.\d+\.\d+$ AND repo = joerick/cibuildwheel
jobs:
include: