From e043a7e7e237837a12f5673eec4fe8e2040d1d18 Mon Sep 17 00:00:00 2001 From: LooKeR Date: Thu, 23 Jan 2025 00:24:38 +0530 Subject: [PATCH] fix: Update script making variable constant --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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