Skip to content

Release process

Paul R. C. Kent edited this page Nov 19, 2018 · 14 revisions

This page documents the steps to follow to make a new release of QMCPACK. The examples are given for the 3.1.0 release.

  1. Make a fresh clone of the repo and create a release candidate branch labeled rc_Mmp where Mmp are digits following semantic versioning.
git clone https://github.com/QMCPACK/qmcpack.git
cd qmcpack
git branch rc_310
git checkout rc_310
  1. Update the QMCPACK_VERSION_MAJOR, QMCPACK_VERSION_MINOR, QMCPACK_VERSION_PATCH version numbers in qmcpack/CMakeLists.txt
  2. Update qmcpack/CHANGELOG.md by replacing the unreleased section with the new version and release date. Update the notes section to recommend the update to all users (if appropriate) and note any major headline items such as backwards incompatibility.
git add qmcpack/CMakeLists.txt qmcpack/CHANGELOG.md
git commit -m "Increase version number, update release notes"
git push origin rc_310
  1. On GitHub, make a pull request into the master branch from the rc.
  2. Ensure CI tests run and pass.
  3. Make an independent download of the proposed merged PR.
  4. Verify code configures and builds on at least one system.
  5. Run non-long tests, confirm version reports correctly. e.g. ctest -VV -E long
  6. Push any needed fixes to the rc and repeat the tests.
  7. Add notes on the test status to the PR.
  8. Request reviewer / other PR approver approves the merge. At least one review is required to merge to master.
  9. Merge the PR.
  10. Create a new release using the release tool on GitHub. Link to the CHANGELOG.md in the release notes. The GitHub link can be copied & updated from previous release.
  11. Issue a PR back to develop from master to update with the new version number and any other updates made to the rc.
  12. Delete the rc branch.
  13. From the new release version, generate a PDF version of the QMCPACK manual and NEXUS user guide with the new version information. "./build_manual.sh v3.5.0". Copy to the webserver. Add this version to the list of previous versions on the QMCPACK.org website.
  14. Announce the release on google groups and QMCPACK.org. Update qmcpack.org via https://qmcpack.org/user and by creating a page of type "Release" with title similar to "QMCPACK Release v3.5.0 - 2018-08-02". The page type is required for https://www.qmcpack.org/releases to update automatically.
Clone this wiki locally