You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ANDROID_VERSION_CODE=$(grep "versionCode" app/build.gradle.kts | sed "s/.*versionCode\\s*=\\s*\\([0-9]*\\).*/\\1/")
5
+
if [ -z"$ANDROID_VERSION_CODE" ];then
6
+
echo"Error: Unable to extract version code."
7
+
exit 1
16
8
fi
17
9
18
10
# Extract Android version name
19
-
if [ "$EXPOSE_NAME"=='true' ];then
20
-
ANDROID_VERSION_NAME=$(grep "versionName" app/build.gradle.kts | sed "s/.*versionName\\s*=\\s*'\\(.*\\)'.*/\\1/"| tr -d '[:space:]'| sed 's/"//g'| sed 's/versionName=//')
0 commit comments