Merge pull request #248 from YannickJadoul/travis-ci-if-tagged
Remove check for branch of tags in examples/travis-ci-test-and-deploy.yml; fix #246
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user