Skip to content

Commit 0ac4aca

Browse files
committed
Abort build release when NvimServer is not clean
1 parent c5a5625 commit 0ac4aca

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Diff for: NvimServer

Diff for: bin/build_release.sh

+10
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ check_gh_release_present() {
5656

5757
build_release() {
5858
echo "### Building release"
59+
60+
# Check whether NvimServer submodule is clean
61+
git submodule update
62+
pushd NvimServer >/dev/null
63+
if [[ ! -z "$(git status --porcelain)" ]]; then
64+
echo "NvimServer submodule not clean!"
65+
exit 1
66+
fi
67+
popd >/dev/null
68+
5969
clean=true notarize=true use_carthage_cache=false ./bin/build_vimr.sh
6070

6171
pushd "${build_folder_path}" >/dev/null

0 commit comments

Comments
 (0)