Skip to content

Commit

Permalink
Prevent keyboard input when generating version name
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-mullvad committed Oct 19, 2023
1 parent 78dc24f commit 4f648e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/buildserver-build-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4f648e9

Please sign in to comment.