From 0ac4aca507191d71d719ee4d1e411a9e0d6589e0 Mon Sep 17 00:00:00 2001 From: Tae Won Ha Date: Thu, 3 Nov 2022 17:05:33 +0100 Subject: [PATCH] Abort build release when NvimServer is not clean --- NvimServer | 2 +- bin/build_release.sh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/NvimServer b/NvimServer index 49d2cd91..5eed4473 160000 --- a/NvimServer +++ b/NvimServer @@ -1 +1 @@ -Subproject commit 49d2cd91b910ea77b4a8131cb523016488d38611 +Subproject commit 5eed447339d8a54215046fe75d0f3def471ef500 diff --git a/bin/build_release.sh b/bin/build_release.sh index dee84229..591102a6 100755 --- a/bin/build_release.sh +++ b/bin/build_release.sh @@ -56,6 +56,16 @@ check_gh_release_present() { build_release() { echo "### Building release" + + # Check whether NvimServer submodule is clean + git submodule update + pushd NvimServer >/dev/null + if [[ ! -z "$(git status --porcelain)" ]]; then + echo "NvimServer submodule not clean!" + exit 1 + fi + popd >/dev/null + clean=true notarize=true use_carthage_cache=false ./bin/build_vimr.sh pushd "${build_folder_path}" >/dev/null