dev:release_checklist
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:release_checklist [2019/12/05 14:29] – adapt to new Git workflow (still WiP) tmueller | dev:release_checklist [2024/08/06 14:45] (current) – oschuett | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | === 1. Agreement about a new release branch X.Y among the CP2K developers | + | === 1. Check that the dashboard is green and there are no other blocking issues |
- | === 2. Check if the following requirements for the release | + | |
- | * a) Clean status for all dashboard regression testers | + | === 2. Cut the release |
- | * b) Successful build and clean regtest of the gfortran sdbg, sopt, popt, pdbg, ssmp, and psmp versions | + | |
- | * c) Check the generated executables with the H2O-32 benchmark input, e.g. using the script | + | |
< | < | ||
- | cd cp2k/benchmarks/ | + | git checkout -b support/v20XX.Y |
- | ./ | + | |
</ | </ | ||
- | The final energies of all MD runs should agree by 10<sup>-10</sup>. | + | Edit the '' |
- | + | ||
- | === 3. Create a new branch from the current master using === | + | |
< | < | ||
- | git checkout -b support/vX.Y | + | tools/ |
+ | git add REVISION src/cp2k_info.F CMakeLists.txt | ||
+ | git commit -m "Cut release version 20XX.Y" | ||
</ | </ | ||
- | === 4. Apply release specific changes === | + | Example: https:// |
- | * a) Update | + | === 3. Tag the release and push to GitHub === |
- | * b) Update the version in tools/ | + | |
- | * c) Provide Java version of [[http:// | + | |
- | * d) Create a file cp2k/ | + | |
< | < | ||
- | tools/ | + | git tag -m "Cut release |
- | git add REVISION | + | git push upstream_rw support/v20XX.Y v20XX.Y |
- | git commit | + | |
</ | </ | ||
- | === 5. Compile the release branch version | + | === 4. Create tar ball and upload to new GitHub draft release |
- | The reference outputs can be retrieved from the branched CP2K trunk version: | ||
< | < | ||
- | cp -a ../ | + | pip3 install git-archive-all |
- | cp2k/tools/ | + | git-archive-all ./cp2k-20XX.Y.tar.bz2 |
- | cp -a ../ | + | |
- | cp2k/ | + | |
</ | </ | ||
- | === 6. Create | + | === 5. Create |
- | + | ||
- | * a) Login to " | + | |
- | * b) Create a new folder ''/ | + | |
- | * c) Add a new link in the cp2k/ | + | |
- | * d) Create and upload the new manual: | + | |
< | < | ||
- | cd cp2k/tools/manual | + | cd cp2k/tools/docker |
- | ./update_manual Linux-x86-64-gfortran-regtest pdbg mkrack@sham.cp2k.org:/var/www/cp2k.org/manual/cp2k-X_Y-branch | + | ./build_dockerhub_images.sh |
+ | docker tag cp2k/cp2k:devZZZZZZZZ | ||
+ | docker tag cp2k/cp2k: | ||
+ | docker push cp2k/ | ||
+ | docker push cp2k/cp2k:latest | ||
</ | </ | ||
- | === 7. Tag the release and push both tag and branch to GitHub | + | === 6. Create a new manual on " |
< | < | ||
- | git tag -a -m "CP2K release X.Y.O" vX.Y.0 | + | cd cp2k/ |
- | git push --atomic upstream vX.Y.0 support/vX.Y | + | docker build -f ./ |
+ | docker run -v " | ||
+ | scp -r manual sham:/ | ||
</ | </ | ||
- | === 8. Increment | + | === 7. Update |
- | < | + | |
- | git checkout master | + | Change back to the main branch to add a new link to [[src>docs/versions.md]] and [[src> |
- | vim cp2k/src/cp2k_info.F cp2k/tools/ | + | |
- | git commit - " | + | |
- | </ | + | |
- | === 9. Update the CP2K web page === | + | === 8. Update the CP2K web page === |
* Add [[: | * Add [[: | ||
* Update [[: | * Update [[: | ||
+ | * Update git tag on the [[: | ||
- | === 10. Dissemination === | + | === 9. Dissemination === |
Inform the | Inform the | ||
* CP2K developers by email | * CP2K developers by email | ||
- | * CP2K users via the CP2K mailing list | + | * CP2K users via the CP2K mailing list ([[https:// |
* the Twitter-sphere via the Twitter account | * the Twitter-sphere via the Twitter account | ||
about the new CP2K release. | about the new CP2K release. | ||
- | |||
- | For a new sub-release X.Y repeat 3-7, correspondingly. |
dev/release_checklist.1575556147.txt.gz · Last modified: 2020/08/21 10:14 (external edit)