Skip to content

Commit ed241c0

Browse files
committed
chore: add check for version_next markers
1 parent 6a04d38 commit ed241c0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/create_archive_and_notes.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515

1616
set -o errexit -o nounset -o pipefail
1717

18+
# Exclude dot directories, specifically, this file so that we don't
19+
# find the substring we're looking for in our own file.
20+
if grep --exclude-dir=.* VERSION_NEXT_ -r; then
21+
echo
22+
echo "Found VERSION_NEXT markers indicating version needs to be specified"
23+
exit 1
24+
fi
25+
1826
# Set by GH actions, see
1927
# https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
2028
TAG=${GITHUB_REF_NAME}

0 commit comments

Comments
 (0)