mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Fix update.
This commit is contained in:
parent
482cf3d16d
commit
bc74d8677f
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import java.io.File
|
|||
public class UpdateKobalt @Inject constructor(val http: Http, val github: GithubApi) {
|
||||
fun updateKobalt() {
|
||||
val newVersion = github.latestKobaltVersion
|
||||
KFiles.saveFile(File("kobalt/wrapper/kobalt-wrapper.properties"), "kobalt.version=$newVersion")
|
||||
KFiles.saveFile(File("kobalt/wrapper/kobalt-wrapper.properties"), "kobalt.version=${newVersion.get()}")
|
||||
com.beust.kobalt.wrapper.main(arrayOf())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue