summaryrefslogtreecommitdiffhomepage
path: root/android/scripts
diff options
context:
space:
mode:
authorDavid Göransson <david.goransson@mullvad.net>2025-07-07 11:55:54 +0200
committerDavid Göransson <david.goransson@mullvad.net>2025-07-07 11:55:57 +0200
commite81decd2abb9be24672dfffeeaef62e622058fb3 (patch)
tree03a70551b7470f65591237309255286550ec5c91 /android/scripts
parent94f3f030f7f1fee24cadf2afb091d6d43380c308 (diff)
downloadmullvadvpn-e81decd2abb9be24672dfffeeaef62e622058fb3.tar.xz
mullvadvpn-e81decd2abb9be24672dfffeeaef62e622058fb3.zip
Handle untracked changes in pre-flight checks
Diffstat (limited to 'android/scripts')
-rwxr-xr-xandroid/scripts/prepare-release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/scripts/prepare-release.sh b/android/scripts/prepare-release.sh
index 40650d2345..2bab05fd4c 100755
--- a/android/scripts/prepare-release.sh
+++ b/android/scripts/prepare-release.sh
@@ -26,7 +26,7 @@ if [[ -z ${PRODUCT_VERSION+x} ]]; then
exit 1
fi
-if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != "" ]]; then
+if test -n "$(git status --porcelain)"; then
echo "Dirty working directory! Will not accept that for an official release."
exit 1
fi