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

PyPI deployment fails on tags #166

Closed
mdshw5 opened this issue Aug 9, 2014 · 3 comments
Closed

PyPI deployment fails on tags #166

mdshw5 opened this issue Aug 9, 2014 · 3 comments

Comments

@mdshw5
Copy link

mdshw5 commented Aug 9, 2014

Take a look at this build for an example. It appears that Travis clones the tagged commit as a branch, and then dpl recognizes the branch as the tagged name and refuses to deploy since we are not on "master". Deployment used to work fine for me, and the current behavior seems like a bug.

@BanzaiMan
Copy link
Contributor

I believe this is a duplicate of travis-ci/travis-ci#1675. As explained in http://docs.travis-ci.com/user/deployment/#Conditional-Releases-with-on%3A, try setting all_branches: true.

@BanzaiMan
Copy link
Contributor

Also, you'll want to specify python: value so that the deployment happens only once.

@mdshw5
Copy link
Author

mdshw5 commented Aug 10, 2014

Thanks. This works for now, but the current behavior is confusing. Would like to see tags not recognized as separate branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants