From acca93e793f21683d72a59ca001aef7f17cacd69 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Tue, 20 Aug 2024 15:10:49 +0200 Subject: chore(build): Remove old Drone CI signed-off checker Signed-off-by: provokateurin --- build/signed-off-checker.php | 112 ------------------------------------------- 1 file changed, 112 deletions(-) delete mode 100644 build/signed-off-checker.php (limited to 'build') diff --git a/build/signed-off-checker.php b/build/signed-off-checker.php deleted file mode 100644 index 750d4757b07..00000000000 --- a/build/signed-off-checker.php +++ /dev/null @@ -1,112 +0,0 @@ - $message) { - if ($commit === '') { - continue; - } - - $signOffMessage = false; - $commitMessageLines = explode("\n", $message); - - foreach ($commitMessageLines as $line) { - if (preg_match('/^Signed-off-by: .* <.*@.*>$/', $line)) { - echo "$commit is signed-off with \"$line\"\n"; - $signOffMessage = true; - continue; - } - } - if ($signOffMessage === true) { - continue; - } - - $notSignedCommits[] = $commit; -} - -if ($notSignedCommits !== []) { - echo("\n"); - echo("Some commits were not signed off!\n"); - echo("Missing signatures on:\n"); - foreach ($notSignedCommits as $commit) { - echo("- " . $commit . "\n"); - } - echo("Build has failed\n"); - exit(1); -} else { - exit(0); -} -- cgit v1.2.3