fix: create tunnel from scratch bug

closes #524
This commit is contained in:
Zane Schepke
2024-12-28 23:46:21 -05:00
parent 7a3627bf6a
commit 4dc91b5fae
5 changed files with 108 additions and 54 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ val versionCodeIncrement = with(getBuildTaskName().lowercase()) {
when {
this.contains(Constants.NIGHTLY) || this.contains(Constants.PRERELEASE) -> {
if (versionFile.exists()) {
versionFile.readText().toInt() + 1
versionFile.readText().trim().toInt() + 1
} else {
1
}