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

Document and Automate the Release Process #47

Open
4 tasks
iguessthislldo opened this issue Mar 31, 2022 · 0 comments
Open
4 tasks

Document and Automate the Release Process #47

iguessthislldo opened this issue Mar 31, 2022 · 0 comments
Milestone

Comments

@iguessthislldo
Copy link
Member

The release process for PyOpenDDS is small compared to OpenDDS, but it took me a bit longer than I'd like to figure out how to do it for 0.2 and even then I still made a mistake: https://pyopendds.readthedocs.io/_/downloads/en/v0.2.0/pdf/ says it's "0.2.0-dev". So it would help a lot to document and automate much of the release like OpenDDS already does. This should include:

  • Create a document in the sphinx docs that documents how to do a release.
  • Have Sphinx and the Python package use the same source for what the version is.
  • Create or use an existing system for recording the changes made between releases and compiling those changes into a changelog for the release.
  • Create or use a script that automates most, if not all of the release. Something like https://zestreleaser.readthedocs.io/en/latest/ maybe that exactly. It would have to:
    • Update the changelog (created in previous task)
    • Update the single version definition (created in previous task)
    • Commit those changes to git, create a release tag, and push
    • Create the source distribution and upload it to PyPi
    • Create the release in GitHub using their API
    • Activate the tag on Readthedocs using their API
    • Update files to the next version
    • Commit those changes to git and push

Some of these like the changelog (NEWS in OpenDDS) and readthedocs could be prototypes for OpenDDS, which lack automation for those tasks.

@iguessthislldo iguessthislldo added this to the v0.3.0 milestone Mar 31, 2022
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

1 participant