From 7c78dfb1132e82788ab7564dda910cd8be77e1c9 Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Wed, 8 Jan 2025 20:53:59 -0800 Subject: [PATCH] chore: update release check to ignore VERSION_NEXT substring in CONTRIBUTING.md Otherwise the release action fails, thinking there are version markers. --- .github/workflows/create_archive_and_notes.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create_archive_and_notes.sh b/.github/workflows/create_archive_and_notes.sh index b425de96ac..29f9f8b9f7 100755 --- a/.github/workflows/create_archive_and_notes.sh +++ b/.github/workflows/create_archive_and_notes.sh @@ -17,7 +17,8 @@ set -o errexit -o nounset -o pipefail # Exclude dot directories, specifically, this file so that we don't # find the substring we're looking for in our own file. -if grep --exclude-dir=.* VERSION_NEXT_ -r; then +# Exclude CONTRIBUTING.md because it documents how to use these strings. +if grep --exclude=CONTRIBUTING.md --exclude-dir=.* VERSION_NEXT_ -r; then echo echo "Found VERSION_NEXT markers indicating version needs to be specified" exit 1