Skip to content

Commit 962f747

Browse files
committed
submodules don't contribute to the release; ignore their changes
1 parent 693d041 commit 962f747

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

check-version.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ test -z "$(git status -s -- "$version_path" "$changes_path")"
2222

2323
# This section can be commented out, if absolutely necessary.
2424
printf 'Checking that ALL changes are committed.\n'
25-
git status -s
26-
test -z "$(git status -s)"
25+
git status -s --ignore-submodules
26+
test -z "$(git status -s --ignore-submodules)"
2727

2828
printf 'Gathering current version, latest tag, and current HEAD commit info.\n'
2929
version_version="$(cat "$version_path")"

0 commit comments

Comments
 (0)