Fixed final bug with Git command.

This commit is contained in:
Pat Garrity 2024-03-08 22:11:36 -06:00
parent c3f8de2caa
commit 312da6a322
Signed by: pfm
GPG key ID: 5CA5D21BAB7F3A76
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ lazy val IsRelease: Boolean =
lazy val Modifier: String =
if (IsRelease) "" else "-SNAPSHOT"
val DefaultVersion: String = "0.1.3-SNAPSHOT"
val DefaultVersion: String = "0.1.4-SNAPSHOT"
lazy val SelectedVersion: String =
InputVersion

View file

@ -23,7 +23,7 @@ object Git {
check = false
)
if (result.exitCode != 0)
if (result.exitCode == 0)
result.out.text().take(length)
else
""