-
Notifications
You must be signed in to change notification settings - Fork 1
How to Create a Release
Cam Mannett edited this page Aug 12, 2023
·
4 revisions
More and more of the release process is becoming automated but as yet, there are still parts that need to be manually done.
- Update the top-level
CMakeLists.txt
'sproject(... VERSION ...)
field to the desired version - Doing the above in a modern IDE should trigger a reconfiguration, but if not you
will need to do it manually. This will update
docs/Doxyfile
andinclude/arg_router/version.hpp
- Commit to
develop
with a commit message following the release format:
arg_router v${VERSION}
Bug fixes
* ${ISSUE_NUM}, ${ISSUE BRIEF}
* ...
Improvements
* ${ISSUE_NUM}, ${ISSUE BRIEF}
* ...
- Once merged in, create a PR to merge
develop
intomain
. Fix any breakages. Commit messages for any breakage fixes should be done as normal - the release blurb can be manually changed in GH if required (the release blurb is generated from the commit message) - Once merged in, create a tag on
main
merge commit, namev{VERSION}
, and push. This will trigger the release action which will publish a newarg_router
release package in GH - If any breakage fixes needed doing post initial merge to
main
, then make sure to clean up the release blurb by manually editing it in GH
- Run
ci/vcpkg_package_updater.sh
or the Powershell version if on Windows - Commit and squash any changes. Leave the body empty
- Push to
cmannett85/vcpkg
- Go to
microsoft/vcpkg
on GH and create a PR from the branch you made to the upstreammaster
branch. Create a draft first until the pre-commit checks have completed. Don't forget to update the PR template tasks too - Once merged into upstream, checkout the merged in commit and then push your new submodule commit for merging into
develop
. It's advisable to run the unit tests locally first as the other dependencies' versions are likely to have changed (not essential though as this is done as a PR action)
WIP as this hasn't been done yet!
- Fetch
cmannett85/conan-center-index
and create a new branch at the HEAD - Push the new version onto
config.yml
versions
- Push the new source onto
conandata.yml
sources
, and calculate the SHA256 from it - Make the sure
test_package
still builds - Push to
cmannett85/conan-center-index
- Create a PR in upstream