Skip to content

Commit 8fb5b3d

Browse files
committed
script: sign off release commits made by mpub
Every commit in the repository must carry a Signed-off-by trailer, but the "release of version" commit that mpub creates on the gh-pages branch was made without it. Pass -s to git commit there, and in the release guide's commit step for the main branch, so both release commits comply with the DCO. Assisted-by: Claude:claude-fable-5-1 Signed-off-by: Xavier Delaruelle <xavier.delaruelle@cea.fr>
1 parent a172934 commit 8fb5b3d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎doc/source/devel/create-new-release.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Perform commit:
5757
.. code-block:: console
5858
5959
version=$(grep ^MODULES_RELEASE version.inc.in | cut -d ' ' -f 3)
60-
git commit -a -m "Release of version $version"
60+
git commit -s -a -m "Release of version $version"
6161
6262
Tag version:
6363

‎script/mpub‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ set fid [open index.html w]
207207
puts -nonewline $fid [string map [list modules-$prevver modules-$relver\
208208
"Download ($prevtag)" "Download ($reltag)"] $index]
209209
close $fid
210-
runcmd 2>@$logfid git commit -m "release of version $relver" index.html
210+
runcmd 2>@$logfid git commit -s -m "release of version $relver" index.html
211211

212212
# upload new page
213213
runcmd 2>@$logfid git push $ghremote gh-pages

0 commit comments

Comments
 (0)