A short primer in the steps needed to release a new version of the weldx
package
- create a PR that finalizes the code for the next version
- name the PR according to the version
vX.Y.Z
and add therelease
tag (example here) - make sure
CHANGELOG.md
is up-to-date and enter current date to the release version - add summarized release highlights where appropriate
- update the
CITATION.cff
version number and date - search the project for
deprecated
and remove deprecated code
- name the PR according to the version
- wait for review and the CI jobs to finish
- check the readthedocs PR build
- merge normally and wait for all CI actions to finish on the main branch
- tag and release the current master version on GitHub using the Releases feature
- name the release git tag according to the version released (e.g. v0.3.3)
- name the GitHub release accordingly, omitting the v prefix (this can be change later so don't worry, in doubt use vX.Y.Z everywhere)
- copy the changes/release notes of the current version into the description and change the GitHub PR links to GitHub markdown
- wait for all Github Actions to finish
- check the build processes for
latest
,stable
andvX.Y.Z
get triggered on RTD (the tag build can get triggered twice, resulting in a failed/duplicated build, no need to worry)
- check the automatic release to pypi after the
build
action completes here
- pypi release should get picked up by the conda-forge bot and create the new pull-request here
- carefully check the
meta.yaml
in the pull request, manually update all changes in the build and run dependencies - merge with 2 or more approved reviews