Skip to content

Commit

Permalink
Update deployment conditional check
Browse files Browse the repository at this point in the history
  • Loading branch information
drasmuss committed Mar 10, 2020
1 parent 789f58d commit 0a30939
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,15 @@ jobs:
distributions: "sdist bdist_wheel "
on:
all_branches: true
tags: false
condition: $TRAVIS_BRANCH =~ ^release-candidate-*
condition: $TRAVIS_TAG = ""
- provider: pypi
user: drasmuss
password: $PYPI_TOKEN
distributions: "sdist bdist_wheel "
on:
all_branches: true
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9]*

before_install:
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ Release History
0.9.1 (unreleased)
==================

**Fixed**

- Updated deployment tag conditional check. (`#83`_)

.. _#83: https://github.com/nengo/nengo-bones/pull/83


0.9.0 (January 28, 2020)
========================
Expand Down
3 changes: 2 additions & 1 deletion nengo_bones/templates/.travis.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,15 @@ jobs:
distributions: "{% for dist in deploy_dists %}{{ dist }} {%+ endfor %}"
on:
all_branches: true
tags: false
condition: $TRAVIS_BRANCH =~ ^release-candidate-*
condition: $TRAVIS_TAG = ""
- provider: pypi
user: {{ pypi_user }}
password: $PYPI_TOKEN
distributions: "{% for dist in deploy_dists %}{{ dist }} {%+ endfor %}"
on:
all_branches: true
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9]*
{% endif %}

Expand Down

0 comments on commit 0a30939

Please sign in to comment.