Pr release guideline - Cidana-Developers/Cidana-Task-Manager GitHub Wiki
Notes on PR release
Checklist before releasing pr
Format check
clang-format check, remember to run the following command to format the modified code before commit: $: clang-format -i --style=file $(git diff --name-only --diff-filter=ACMR '*.[hc]' '*.cc')
build check:
check if build is failing
check if there is any build warning on different platforms both on local and remote server;
Dry-run check:
check if there is any crash after merging new code;
check if the result is expected result.
Commit message check:
The commit should have tile and content, and the second line should be empty.
No obvious syntax error should be found.
Does the pr base on the latest code? It's better to rebase to the latest code;
Is there any minor pr should be squarshed?
Release Process
initial PR and do self-check according to the checklist.
If the pr meets the requirement, add code reviewer in the PR;
modify the pr until reviewer approve the pr.
After PR is approved, post the release document and add Tester into the reviewer and let Tester double check the result, mainly check the build result on remote server (travis or appvedor), dry-run the result to verify.