We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bd773c commit 12058b3Copy full SHA for 12058b3
extract-expose-version.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
# Extract Android version code
4
-ANDROID_VERSION_CODE=$(grep "versionCode" app/build.gradle.kts | sed "s/.*versionCode\\s*=\\s*\\([0-9]*\\).*/\\1/")
+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
0 commit comments