From 90201c697e47fb32934611e33540862f1ede131e Mon Sep 17 00:00:00 2001 From: Kyle Corry Date: Wed, 25 Oct 2023 07:44:10 -0400 Subject: [PATCH] Update release script --- scripts/release-builds.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)"