File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,21 @@ set -o errexit -o nounset -o pipefail
1818# Exclude dot directories, specifically, this file so that we don't
1919# find the substring we're looking for in our own file.
2020# Exclude CONTRIBUTING.md, RELEASING.md because they document how to use these strings.
21- if grep --exclude=CONTRIBUTING.md --exclude=RELEASING.md --exclude-dir=.* VERSION_NEXT_ -r; then
21+ grep --exclude=CONTRIBUTING.md \
22+ --exclude=RELEASING.md \
23+ --exclude=release.py \
24+ --exclude=release_test.py \
25+ --exclude-dir=.* \
26+ VERSION_NEXT_ -r
27+ if $? ; then
2228 echo
2329 echo " Found VERSION_NEXT markers indicating version needs to be specified"
2430 exit 1
2531fi
2632
33+ echo " done"
34+ exit 1
35+
2736# Set by GH actions, see
2837# https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
2938TAG=${GITHUB_REF_NAME}
You can’t perform that action at this time.
0 commit comments