User Tools

Site Tools


dev:release_checklist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:release_checklist [2023/07/28 12:39] oschuettdev:release_checklist [2024/08/06 14:45] (current) oschuett
Line 9: Line 9:
 </code> </code>
  
-Edit the ''cp2k_version'' string in [[src>src/cp2k_info.F]] (⚠️ remove the  ''Development Version'').+Edit the ''cp2k_version'' string in [[src>src/cp2k_info.F]] and [[src>CMakeLists.txt]] (⚠️ remove the  ''Development Version'').
  
 <code> <code>
 tools/build_utils/get_revision_number src >REVISION tools/build_utils/get_revision_number src >REVISION
-git add REVISION src/cp2k_info.F +git add REVISION src/cp2k_info.F CMakeLists.txt 
-git commit -m "Cut release version 20XX.Y" REVISION src/cp2k_info.F+git commit -m "Cut release version 20XX.Y"
 </code> </code>
  
-Example: https://github.com/cp2k/cp2k/commit/71f6a37+Example: https://github.com/cp2k/cp2k/commit/6608d10
  
 === 3. Tag the release and push to GitHub === === 3. Tag the release and push to GitHub ===
Line 48: Line 48:
 <code> <code>
 cd cp2k/tools/docker cd cp2k/tools/docker
-docker build -f ./Dockerfile.test_manual  --build-arg GIT_COMMIT_SHA=$(git rev-parse HEAD) --build-arg ADD_EDIT_LINKS=no -t manual_img ../../+docker build -f ./Dockerfile.test_manual  --build-arg GIT_COMMIT_SHA=$(git rev-parse HEAD) -t manual_img ../../
 docker run -v "$(pwd)":/mnt manual_img cp -rv  /workspace/artifacts/manual /mnt/ docker run -v "$(pwd)":/mnt manual_img cp -rv  /workspace/artifacts/manual /mnt/
 scp -r manual sham:/var/www/cp2k.org/manual/cp2k-20XX_Y-branch scp -r manual sham:/var/www/cp2k.org/manual/cp2k-20XX_Y-branch
Line 55: Line 55:
 === 7. Update the main branch === === 7. Update the main branch ===
  
-Change back to the main branch to add a new link in the [[src>tools/manual/index.html]] and update the development version in [[src>src/cp2k_info.F]]. Example: https://github.com/cp2k/cp2k/commit/1509dbb .+Change back to the main branch to add a new link to [[src>docs/versions.md]] and [[src>docs/index.md]]and update the development version in [[src>src/cp2k_info.F]] and [[src>CMakeLists.txt]]. Example: https://github.com/cp2k/cp2k/commit/faa0fcc.
  
 === 8. Update the CP2K web page === === 8. Update the CP2K web page ===
dev/release_checklist.1690547960.txt.gz · Last modified: 2023/07/28 12:39 by oschuett