File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515
16- set -o errexit -o nounset -o pipefail
16+ set -o nounset
17+ set -o pipefail
18+ set -o errexit
1719
20+ set -x
1821# Exclude dot directories, specifically, this file so that we don't
1922# find the substring we're looking for in our own file.
2023# 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
24+ grep --exclude=CONTRIBUTING.md \
25+ --exclude=RELEASING.md \
26+ --exclude=release.py \
27+ --exclude=release_test.py \
28+ --exclude-dir=.* \
29+ VERSION_NEXT_ -r || grep_exit_code=$?
30+
31+ if [[ $grep_exit_code -eq 0 ]]; then
2232 echo
2333 echo " Found VERSION_NEXT markers indicating version needs to be specified"
2434 exit 1
You can’t perform that action at this time.
0 commit comments