; Fix last change

This commit is contained in:
Jim Porter 2023-04-23 12:08:32 -07:00
parent 3ce462c8fd
commit 65735cee71

View file

@ -49,7 +49,7 @@ $awk -v origin_name="$1" '
# Check any lines with a valid local SHA and whose remote ref is
# master or an emacs-NN release branch. (We want to avoid checking
# feature or scratch branches here.)
$2 ~ /^[a-z0-9]{40}$/ && $3 ~ /^refs/heads/(master|emacs-[0-9]+)$/ {
$2 ~ /^[a-z0-9]{40}$/ && $3 ~ /^refs\/heads\/(master|emacs-[0-9]+)$/ {
newref = $2
# If the remote SHA is all zeroes, this is a new object to be
# pushed (likely a branch)...