瀏覽代碼

CI: Use boolean conditional inside arithmetic expression on macOS

PatTheMav 3 年之前
父節點
當前提交
1379cd122f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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