Fail the build if v1
or v2
is empty or null
.
By default the empty string or null
is treated as the lowest version and will not fail the build.
I.e.:
null
compared to null
== 0
== 0
null
compared to empty == 0
null
or empty compared to anything == -1
null
or empty == 1