From: Donatas Abraitis Date: Fri, 4 Mar 2022 07:46:25 +0000 (+0200) Subject: doc: Add a couple of handy commands to get some info for release notes X-Git-Tag: pim6-testing-20220430~237^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5c1d28501210dfdceef1ab3cbffd357d374ed7a1;p=matthieu%2Ffrr.git doc: Add a couple of handy commands to get some info for release notes Signed-off-by: Donatas Abraitis --- diff --git a/doc/developer/frr-release-procedure.rst b/doc/developer/frr-release-procedure.rst index 6a7f9c4ca9..0913b17120 100644 --- a/doc/developer/frr-release-procedure.rst +++ b/doc/developer/frr-release-procedure.rst @@ -204,7 +204,7 @@ Stage 3 - Publish .. code-block:: console - cp .md .md + cp content/release/.md content/release/.md Paste the GitHub release announcement text into this document, and **remove line breaks**. In other words, this:: @@ -220,6 +220,16 @@ Stage 3 - Publish This is very important otherwise the announcement will be unreadable on the website. + To get the number of commiters and commits, here is a couple of handy commands: + + .. code-block:: console + + # The number of commits + % git log --oneline --no-merges base_8.2...base_8.1 | wc -l + + # The number of commiters + % git shortlog --summary --no-merges base_8.2...base_8.1 | wc -l + Make sure to add a link to the GitHub releases page at the top. Once finished, manually add a new entry into ``index.html`` to link to this