Skip to content

Commit

Permalink
chore: update release check to ignore VERSION_NEXT substring in CONTR…
Browse files Browse the repository at this point in the history
…IBUTING.md (#2553)

Otherwise the release action fails, thinking there are version markers.
  • Loading branch information
rickeylev authored Jan 9, 2025
1 parent 89d850a commit 38135f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/create_archive_and_notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38135f7

Please sign in to comment.