Skip to content

Commit

Permalink
Merge #60967
Browse files Browse the repository at this point in the history
60967: build: enable required release justifications for stability period r=otan a=jlinder

To begin stability period for the 21.1 release.

Release justification: non-production code change
Release note: None

Co-authored-by: James H. Linder <[email protected]>
  • Loading branch information
craig[bot] and jlinder committed Feb 24, 2021
2 parents 5cb9815 + 6184882 commit b4e9377
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/teamcity-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion githooks/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion githooks/prepare-commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4e9377

Please sign in to comment.