Skip to content

Commit

Permalink
fix: Update script making variable constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Iamlooker committed Jan 22, 2025
1 parent 1e964a5 commit e043a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e043a7e

Please sign in to comment.