Skip to content

Commit

Permalink
Deploy all tagged commits to PyPI, even if not on master
Browse files Browse the repository at this point in the history
Depending on the order commits are tagged vs. merged into master, a tag
may never be deployed under the old conditions.

Safer to deploy all tags, whether they are merged yet or not. Up to tagger
to ensure they are merged as appropriate.
  • Loading branch information
braedon committed Sep 7, 2020
1 parent 90cbe50 commit 877d91b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ script:
jobs:
include:
- stage: deploy
if: branch = master AND tag IS present
if: tag IS present
python: 3.8
script: skip
deploy:
Expand All @@ -24,4 +24,3 @@ jobs:
distributions: "sdist bdist_wheel"
on:
tags: true
branch: master

0 comments on commit 877d91b

Please sign in to comment.