Ver Fonte

CI: Use boolean conditional inside arithmetic expression on macOS

PatTheMav há 3 anos atrás
pai
commit
1379cd122f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      .github/scripts/.package.zsh

+ 1 - 1
.github/scripts/.package.zsh

@@ -162,7 +162,7 @@ Usage: %B${functrace[1]%:*}%b <option> [<options>]
         "${project_root}/release/${output_name}"
     }
 
-    if (( ${+CODESIGN} + ${+NOTARIZE} > 1 )) {
+    if (( ${+CODESIGN} && ${+NOTARIZE} )) {
       check_xcnotary
 
       local _error=0