Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deployment conditional check #83

Merged
merged 1 commit into from
Mar 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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**

- Fixed deployment tag conditional check in ``.travis.yml`` template. (`#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