File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 25
25
exit 0
26
26
fi
27
27
fi
28
- if [ ! " ${INSTABUG_APP_VERSION_CODE } " ] || [ -z " ${INSTABUG_APP_VERSION_CODE } " ]; then
28
+ if [ ! " ${INSTABUG_APP_VERSION_NAME } " ] || [ -z " ${INSTABUG_APP_VERSION_NAME } " ]; then
29
29
INSTABUG_APP_VERSION_NAME=$( grep " versionName" android/app/build.gradle | awk ' {print $2}' | tr -d \' ' "\' )
30
30
if [ ! " ${INSTABUG_APP_VERSION_NAME} " ] || [ -z " ${INSTABUG_APP_VERSION_NAME} " ]; then
31
31
echo " versionName could not be found, please upload the sourcemap files manually"
34
34
fi
35
35
VERSION=' {"code":"' " $INSTABUG_APP_VERSION_CODE " ' ","name":"' " $INSTABUG_APP_VERSION_NAME " ' "}'
36
36
echo " Instabug: Token found" " \" " ${INSTABUG_APP_TOKEN} " \" "
37
+ echo " Instabug: Version Code found" " \" " ${INSTABUG_APP_VERSION_CODE} " \" "
38
+ echo " Instabug: Version Name found" " \" " ${INSTABUG_APP_VERSION_NAME} " \" "
37
39
echo " Instabug: Generating sourcemap files..."
38
40
IS_HERMES=$( grep " enableHermes:" ./android/app/build.gradle)
39
41
if [[ $IS_HERMES == * " true" * ]]; then
You can’t perform that action at this time.
0 commit comments