소스 검색

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