Skip to content

Commit 12058b3

Browse files
committed
fix grep code
1 parent 9bd773c commit 12058b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extract-expose-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Extract Android version code
4-
ANDROID_VERSION_CODE=$(grep "versionCode" app/build.gradle.kts | sed "s/.*versionCode\\s*=\\s*\\([0-9]*\\).*/\\1/")
4+
ANDROID_VERSION_CODE=$(grep "versionCode" app/build.gradle.kts | sed "s/.*versionCode\s*=\s*\([0-9]*\).*/\1/")
55
if [ -z "$ANDROID_VERSION_CODE" ]; then
66
echo "Error: Unable to extract version code."
77
exit 1

0 commit comments

Comments
 (0)