From 4f648e99242cb9a5e1a04195057d9568b2d218db Mon Sep 17 00:00:00 2001 From: Albin Date: Thu, 19 Oct 2023 14:20:36 +0200 Subject: [PATCH] Prevent keyboard input when generating version name --- ci/buildserver-build-android.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/buildserver-build-android.sh b/ci/buildserver-build-android.sh index 4c74d8afdfbd..62bf8b02898f 100755 --- a/ci/buildserver-build-android.sh +++ b/ci/buildserver-build-android.sh @@ -86,7 +86,7 @@ function build_ref { # podman appends a trailing carriage return to the output. So we use `tr` to strip it local version="" - version="$(run_in_linux_container cargo run -q --bin mullvad-version versionName | tr -d "\r" || return 1)" + version="$(run_in_linux_container 'stty -echo && cargo run -q --bin mullvad-version versionName' | tr -d "\r" || return 1)" local artifact_dir="dist/$version" mkdir -p "$artifact_dir"