diff --git a/scripts/release-builds.sh b/scripts/release-builds.sh index 353cbc5be..05b373a4f 100644 --- a/scripts/release-builds.sh +++ b/scripts/release-builds.sh @@ -22,7 +22,7 @@ sh "${BASH_SOURCE%/*}"/../gradlew bundleRelease \ -Pandroid.injected.signing.key.password=$(head -n 4 "$1" | tail -n 1) # Get the version name from the gradle file -export VERSION_CODE=$(grep -oP '(?<=versionCode = )\d+' "${BASH_SOURCE%/*}"/../app/build.gradle.kts) +export VERSION_CODE=$(LC_ALL=C.UTF-8 grep -oP '(?<=versionCode = )\d+' "${BASH_SOURCE%/*}"/../app/build.gradle.kts) # Copy the files to the destination folder (line 5 of the signing config file) echo "Copying files to $(head -n 5 "$1" | tail -n 1)"