From 312fb6813fdcee30c8a0bb47dd7e9a218f91e405 Mon Sep 17 00:00:00 2001 From: Rick Newton-Rogers Date: Fri, 3 Mar 2023 13:53:01 +0000 Subject: [PATCH] make soundness check aware of 2023 (#378) Motivation: Soundness check currently fails for copyright statements including 2023 as the year Modifications: add '3' to the checking regex Result: Soundness checks should not fail for documents created this year Co-authored-by: Cory Benfield --- scripts/soundness.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/soundness.sh b/scripts/soundness.sh index 801a1ff..8475f77 100755 --- a/scripts/soundness.sh +++ b/scripts/soundness.sh @@ -18,7 +18,7 @@ here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" function replace_acceptable_years() { # this needs to replace all acceptable forms with 'YEARS' - sed -e 's/20[12][78901]-20[12][89012]/YEARS/' -e 's/20[12][89012]/YEARS/' + sed -e 's/20[12][78901]-20[12][890123]/YEARS/' -e 's/20[12][890123]/YEARS/' } printf "=> Checking linux tests... "