Create CMB 6.2-RC1
Preparatory steps
- Update CMB guides
- Assemble release notes into
doc/release/cmb-6.2.md
.-
Get positive review and merge.
-
- Assemble release notes into
Update CMB
Keep the relevant items for the kind of release this is.
If making a first release candidate from master, i.e., v6.2.0-rc1
:
-
Update master
branch for cmb
git fetch origin
git checkout master
git merge --ff-only origin/master
-
Update version.txt
and tag the commit
git checkout -b update-to-v6.2.0-rc1
echo 6.2.0-rc1 > version.txt
git commit -m 'Update version number to 6.2.0-rc1' version.txt
git tag -a -m 'CMB VERSION' v6.2.0-rc1 HEAD
- Integrate changes to
master
branch-
Create a merge request targeting master
(do not addBackport: release
) -
Get positive review -
Do: merge
-
- Updating SMTK
-
Start SMTK's Release Process cmb/smtk#SMTK_RELEASE_ISSUE
-
- Integrate changes to
release
branch-
git push origin update-to-v6.2.0-rc1:release v6.2.0-rc1
-
Update kwrobot with the new release
branch rules (@ben.boeckel)
-
Update CMB-Superbuild
Keep the relevant items for the kind of release this is.
If making a first release candidate from master, i.e., v6.2.0.0-rc1
:
-
Update master
branch for cmb/cmb-superbuild
git fetch origin
git checkout master
git merge --ff-only origin/master
- Update
CMakeLists.txt
-
git checkout -b update-to-vVERSION
-
Update PARAVIEW_VERSION_DEFAULT to the release version (without RC*) -
Set CMB source selections in CMakeLists.txt
and force explicit version inCMakeLists.txt
:
-
# Force source selection setting here.
set(cmb_SOURCE_SELECTION "6.2.0" CACHE STRING "Force version to 6.2.0" FORCE)
set(cmb_FROM_SOURCE_DIR OFF CACHE BOOL "Force source dir off" FORCE)
set(smtk_SOURCE_SELECTION "3.2.0" CACHE STRING "Force version to 3.2.0" FORCE)
set(smtk_FROM_SOURCE_DIR OFF CACHE BOOL "Force source dir off" FORCE)
- Update
versions.cmake
-
Guide selections in versions.cmake
-
git add versions.cmake CMakeLists.txt
-
git commit -m "Update the default version to 6.2.0-rc1"
-
- Integrate changes to
master
branch-
Create a merge request targeting master
, title beginning with WIP (do not addBackport: release
to description) -
Build binaries ( Do: test
) -
Download the binaries that have been generated in the dashboard results. They will be deleted within 24 hours. -
Remove explicit version forcing added in CMakeLists.txt and force push
-
git add CMakeLists.txt
git commit --amend
git gitlab-push -f
- Finalize merge request
-
Remove WIP from merge request title -
Get positive review -
Do: merge
-
git tag -a -m 'cmb superbuild 6.2.0-rc1' v6.2.0-rc1 HEAD
-
- Integrate changes to
release
branch-
git push origin update-to-v6.2.0-rc1:release v6.2.0-rc1
-
Update kwrobot with the new release
branch rules
-
Validating binaries
- Binary checklist
-
macOS -
Linux -
Windows
-
Upload binaries
- Upload binaries
-
Ask @chuck.atkins to sign macOS binary -
Verify the binaries are uploaded
buildListing.sh
updateMD5sum.sh vMAJOR.MINOR
-
Test download links on https://www.computationalmodelbuilding.org/download
Post-release
-
Write and publish blog post with release notes. -
Post an announcement in the Announcements category on discourse.cmb.org.
/cc @ben.boeckel /cc @bob.obara /cc @tjcorona /cc @dcthomp
Edited by Robert M. O'Bara