diff --git a/update.sh b/update.sh index 7e86179d..2b3d51fb 100755 --- a/update.sh +++ b/update.sh @@ -56,7 +56,7 @@ else fi # Update the Kotlin file with new version code and name -sed -i "s/val latestVersionName = \"[^\"]*\"/const val latestVersionName = \"$version_name\"/" "$kotlin_file" +sed -i "s/val latestVersionName = \"[^\"]*\"/val latestVersionName = \"$version_name\"/" "$kotlin_file" sed -i "s/versionCode = [0-9]*/versionCode = $version_code/" "$kotlin_file" # Create a changelog file