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

Push stubs to pypi only on a release #5845

Merged
merged 1 commit into from
Jan 13, 2022

Conversation

dhalbert
Copy link
Collaborator

Previously, circuitpython-stubs was pushed to pypi on every merge. This generates a lot of releases in https://pypi.org/project/circuitpython-stubs/, most with strange version numbers. Instead, push stubs to pypi on when a release is done.

Stubs are still built and pushed to https://adafruit-circuit-python.s3.amazonaws.com/index.html?prefix=bin/stubs/ on every merge. I just cleaned this up to include only releases, but it will repopulate quickly enough. I will add it to my monthly or so manual S3 cleanups.

I thought originally I would move this run step to create_website_pr.yml, but this is better.

@dhalbert dhalbert requested review from tannewt and jepler January 12, 2022 19:20
Copy link
Member

@jepler jepler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine don't know how to test

@dhalbert dhalbert merged commit 32dd374 into adafruit:main Jan 13, 2022
@dhalbert dhalbert deleted the stubs-to-pypi-only-on-rlease branch January 13, 2022 19:19
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

Successfully merging this pull request may close these issues.

Release stubs to pypi only when a release is done
2 participants