A core developer should use the following steps to create a release of Cell Locator
-
Update CHANGES.md adding missing entries in
Next Releasesection -
Remote connect to
overloadwindows build machine (internally hosted at Kitware) -
Open
Git Bashand update source checkoutcd /d/D/P/CL-0 git pull origin main -
Run
D:\D\DashboardScripts\overload-vs2019-cell-locator_preview_experimental.batscriptScripts are available at https://github.com/Slicer/DashboardScripts
-
From the developer workstation, tag the release:
release=X.Y.Z-YYYY-MM-DD git tag --sign -m "${release}" ${release} main git push origin ${release}where:
X.Y.Zcorresponds to the version in Applications/CellLocatorApp/slicer-application-properties.cmakeYYYY-MM-DDcorresponds to the date of commit from which the application is built
We recommend using a GPG signing key to sign the tag.
-
From the developer workstation:
- update CHANGES.md replacing
Next ReleasewithCell Locator X.Y.Z-YYYY-MM-DDand push. - update
AnnotationFileFormat.mdbased on the Annotation File Format Versioning Guidelines and push.
-
Go to https://github.com/BICCN/cell-locator/tags, then create a release or pre-release from the tag.
Update release description to include text like the following:
See [release notes](https://github.com/BICCN/cell-locator/blob/main/CHANGES.md#cell-locator-XYZ-YYYY-MM-DD)where
XYZ-YYYY-MM-DDshould corresponds to thereleaseset in previous steps. -
From the build machine, login to GitHub and upload the package as a release asset.