File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818)
1919
2020# Find the local version from the Gradle.Properties file
21- if ($propertiesPath -eq " " || $null -eq $propertiesPath ) {
21+ if ($propertiesPath -eq " " -or $null -eq $propertiesPath ) {
2222 $propertiesPath = Join-Path - Path $PSScriptRoot - ChildPath " ../gradle.properties"
2323}
2424$file = get-item $propertiesPath
@@ -59,9 +59,9 @@ if($mavenVersion -ne $bintrayVersion){
5959 Write-Warning " The current Maven and Bintray versions are not the same"
6060}
6161# Success if Local version has been updated, Error otherwise.
62- if ($localVersion -gt $bintrayVersion && $localVersion -gt $mavenVersion ){
62+ if ($localVersion -gt $bintrayVersion -and $localVersion -gt $mavenVersion ){
6363 Write-Host " The current pull request is of a greater version"
6464}
6565else {
6666 Write-Error " The current local version is not updated. Please update the local version in the Gradle.Properties file."
67- }
67+ }
You can’t perform that action at this time.
0 commit comments