Explorar o código

CI: Use boolean conditional inside arithmetic expression on macOS

PatTheMav %!s(int64=3) %!d(string=hai) anos
pai
achega
1379cd122f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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