Skip to content

Commit 91ea98a

Browse files
authored
Kotlin nightlies script tweak (#6011)
1 parent 8dee965 commit 91ea98a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/bump-kotlin-nightlies.main.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ fun commitAndPush() {
8282
val status = runCommand("git status")
8383
if (status.contains("nothing to commit")) {
8484
println("No changes to commit")
85-
return
85+
} else {
86+
runCommand("git add .")
87+
runCommand("git", "commit", "-m", "Bump Kotlin and KSP")
8688
}
87-
runCommand("git add .")
88-
runCommand("git", "commit", "-m", "Bump Kotlin version")
8989
runCommand("git push --force origin $BRANCH_NAME")
9090
}
9191

0 commit comments

Comments
 (0)