From: Remi Gacogne Date: Thu, 6 Nov 2025 08:42:10 +0000 (+0100) Subject: changelog-from-pr: Sort PRs based on their ID X-Git-Tag: rec-5.4.0-beta1~75^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee77e4a35ca2851a704e8bf1d04ec5132745fec6;p=thirdparty%2Fpdns.git changelog-from-pr: Sort PRs based on their ID Signed-off-by: Remi Gacogne --- diff --git a/build-scripts/changelog-from-pr.py b/build-scripts/changelog-from-pr.py index 3730597d1e..5c44b703ef 100755 --- a/build-scripts/changelog-from-pr.py +++ b/build-scripts/changelog-from-pr.py @@ -29,7 +29,7 @@ if arguments.username: # A token with `repo` and `user` access will definitely work. access_token = arguments.access_token -for pr in arguments.pullrequest: +for pr in sorted(arguments.pullrequest): if pr[0] == '#': pr = pr[1:] try: