Fix version updates in ReleaseHelperPlugin
This commit is contained in:
parent
f69bf81630
commit
535bfab8db
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ private fun String.incrementVersion(part: VersionPart) = split(".")
|
|||
.joinToString(".")
|
||||
|
||||
private fun Project.updateVersionName(oldVersionName: String, newVersionName: String) {
|
||||
File(projectDir, "app/build.gradle.kts").apply {
|
||||
File(projectDir, "build.gradle.kts").apply {
|
||||
writeText(
|
||||
readText().replace("versionName = \"$oldVersionName\"", "versionName = \"$newVersionName\"")
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue