Skip to content

Commit 38135f7

Browse files
authored
chore: update release check to ignore VERSION_NEXT substring in CONTRIBUTING.md (#2553)
Otherwise the release action fails, thinking there are version markers.
1 parent 89d850a commit 38135f7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/create_archive_and_notes.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ set -o errexit -o nounset -o pipefail
1717

1818
# Exclude dot directories, specifically, this file so that we don't
1919
# find the substring we're looking for in our own file.
20-
if grep --exclude-dir=.* VERSION_NEXT_ -r; then
20+
# Exclude CONTRIBUTING.md because it documents how to use these strings.
21+
if grep --exclude=CONTRIBUTING.md --exclude-dir=.* VERSION_NEXT_ -r; then
2122
echo
2223
echo "Found VERSION_NEXT markers indicating version needs to be specified"
2324
exit 1

0 commit comments

Comments
 (0)