From 6184882da261e2b1fe06b1f1e167102242c70245 Mon Sep 17 00:00:00 2001 From: "James H. Linder" Date: Mon, 22 Feb 2021 20:14:48 -0500 Subject: [PATCH] build: enable required release justifications for stability period To begin stability period for the 21.1 release. Release justification: non-production code change Release note: None --- build/teamcity-check.sh | 2 +- githooks/commit-msg | 2 +- githooks/prepare-commit-msg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/teamcity-check.sh b/build/teamcity-check.sh index 6682b3427998..dfb4ac7430ec 100755 --- a/build/teamcity-check.sh +++ b/build/teamcity-check.sh @@ -2,7 +2,7 @@ # Set this to 1 to require a "release justification" note in the commit message # or the PR description. -require_justification=0 +require_justification=1 set -euo pipefail diff --git a/githooks/commit-msg b/githooks/commit-msg index 634d1c71feb7..ef9ba1a953bc 100755 --- a/githooks/commit-msg +++ b/githooks/commit-msg @@ -52,7 +52,7 @@ IFS=' notes=($($grep -iE '^release note' "$1")) # Set this to 1 to require a release justification note. -require_justification=0 +require_justification=1 justification=($($grep -iE '^release justification: \S+' "$1")) IFS=$saveIFS diff --git a/githooks/prepare-commit-msg b/githooks/prepare-commit-msg index d71a170926a7..5b297a71ee70 100755 --- a/githooks/prepare-commit-msg +++ b/githooks/prepare-commit-msg @@ -2,7 +2,7 @@ # # Prepare the commit message by adding a release note. -require_justification=0 +require_justification=1 set -euo pipefail if [[ "${2-}" = "message" ]]; then