Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Automate PyPI Releases #4364

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

Merged
merged 18 commits into from
Jul 12, 2024
Merged

Automate PyPI Releases #4364

merged 18 commits into from
Jul 12, 2024

Conversation

Bibo-Joshi
Copy link
Member

@Bibo-Joshi Bibo-Joshi commented Jul 9, 2024

Closes #4318

ToDo:

  • Revert random version numbers
  • disable running on pushes to this dev branch
  • Rename gpg public key file once first version using this workflow is clear
  • Create follow-up PR to update website on verification information Update information on verifying releases python-telegram-bot.github.io#21
  • Possibly extend the verification information with the optional parameters of sigstore
  • Verify that the testpypi upload & github draft release work

@Bibo-Joshi Bibo-Joshi added the 🔗 github-actions related technology: github-actions label Jul 9, 2024
@Bibo-Joshi Bibo-Joshi temporarily deployed to release_test_pypi July 9, 2024 10:44 — with GitHub Actions Inactive
@Bibo-Joshi Bibo-Joshi temporarily deployed to release_test_pypi July 9, 2024 10:52 — with GitHub Actions Inactive
@Bibo-Joshi Bibo-Joshi temporarily deployed to release_test_pypi July 9, 2024 10:56 — with GitHub Actions Inactive
@Bibo-Joshi Bibo-Joshi temporarily deployed to release_test_pypi July 9, 2024 10:59 — with GitHub Actions Inactive
@Bibo-Joshi Bibo-Joshi temporarily deployed to release_test_pypi July 9, 2024 11:04 — with GitHub Actions Inactive
@Bibo-Joshi Bibo-Joshi temporarily deployed to release_test_pypi July 9, 2024 11:15 — with GitHub Actions Inactive
@Bibo-Joshi Bibo-Joshi temporarily deployed to release_test_pypi July 9, 2024 15:45 — with GitHub Actions Inactive
@Bibo-Joshi Bibo-Joshi temporarily deployed to release_test_pypi July 9, 2024 15:59 — with GitHub Actions Inactive
@Bibo-Joshi
Copy link
Member Author

After a bit of trial and error, this seems to be running fine now :) pypi test releases can be seen at https://test.pypi.org/project/python-telegram-bot/#history. the GH releases drafts worked as well, but I discarded them to not leave testing artifacts behind.

I'm attaching the produced artifacts from the last successfull run so that if you like you can verify that the sigstore verification and sha1 sum works as expected :)

python_telegram_bot-21.4a9571-artifacts.zip

Copy link
Member

@harshil21 harshil21 left a comment

Choose a reason for hiding this comment

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

looks to be extensively tested. I just have some questions below :)

@Bibo-Joshi Bibo-Joshi added the ℹ️ needs-wiki-update information: needs-wiki-update label Jul 10, 2024
@Bibo-Joshi Bibo-Joshi merged commit efe1392 into master Jul 12, 2024
4 checks passed
@Bibo-Joshi Bibo-Joshi deleted the automate-pypi branch July 12, 2024 14:44
@github-actions github-actions bot locked and limited conversation to collaborators Jul 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔗 github-actions related technology: github-actions ℹ️ needs-wiki-update information: needs-wiki-update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Automated PyPI Release
2 participants