fix: Update script making variable constant
This commit is contained in:
parent
1e964a5556
commit
e043a7e7e2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user