Skip to content

travis setup pypi adds "distributions" to deploy conditions #373

@jthi3rry

Description

@jthi3rry

travis setup pypi generates the following (distributions under on):

deploy:
  provider: pypi
  user: USERNAME
  password:
    secure: ENCRYPTED_PASSWORD
  on:
    tags: true
    distributions: sdist bdist_wheel
    repo: REPO
    branch: BRANCH

But should generate this instead (distributions under deploy as per https://docs.travis-ci.com/user/deployment/pypi#Uploading-different-distributions):

deploy:
  provider: pypi
  user: USERNAME
  password:
    secure: ENCRYPTED_PASSWORD
  distributions: sdist bdist_wheel
  on:
    tags: true
    repo: REPO
    branch: BRANCH

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions