Fixed final bug with Git command.
This commit is contained in:
parent
c3f8de2caa
commit
312da6a322
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ lazy val IsRelease: Boolean =
|
||||||
lazy val Modifier: String =
|
lazy val Modifier: String =
|
||||||
if (IsRelease) "" else "-SNAPSHOT"
|
if (IsRelease) "" else "-SNAPSHOT"
|
||||||
|
|
||||||
val DefaultVersion: String = "0.1.3-SNAPSHOT"
|
val DefaultVersion: String = "0.1.4-SNAPSHOT"
|
||||||
|
|
||||||
lazy val SelectedVersion: String =
|
lazy val SelectedVersion: String =
|
||||||
InputVersion
|
InputVersion
|
||||||
|
|
|
@ -23,7 +23,7 @@ object Git {
|
||||||
check = false
|
check = false
|
||||||
)
|
)
|
||||||
|
|
||||||
if (result.exitCode != 0)
|
if (result.exitCode == 0)
|
||||||
result.out.text().take(length)
|
result.out.text().take(length)
|
||||||
else
|
else
|
||||||
""
|
""
|
||||||
|
|
Loading…
Add table
Reference in a new issue