From d9bd9e14a180250e7c8f9309686ff3a59dc462a2 Mon Sep 17 00:00:00 2001 From: CodeYan01 <65320293+CodeYan01@users.noreply.github.com> Date: Thu, 7 Dec 2023 16:37:07 +0800 Subject: [PATCH] Disable notarize --- .github/scripts/.build.zsh | 2 +- .github/workflows/build-project.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/.build.zsh b/.github/scripts/.build.zsh index 3009d58e0e485a..e3ad0b843e3d4a 100755 --- a/.github/scripts/.build.zsh +++ b/.github/scripts/.build.zsh @@ -172,7 +172,7 @@ build() { ) pushd build_macos - if [[ ${GITHUB_EVENT_NAME} == push && ${GITHUB_REF_NAME} =~ [0-9]+.[0-9]+.[0-9]+(-(rc|beta).+)? ]] { + if [[ ${GITHUB_EVENT_NAME} == push && ${GITHUB_REF_NAME} =~ [0-9]+-[0-9]+-[0-9]+(-(rc|beta).+)? ]] { run_xcodebuild ${archive_args} run_xcodebuild ${export_args} } else { diff --git a/.github/workflows/build-project.yaml b/.github/workflows/build-project.yaml index 9df784fc913039..79a16acc04a86f 100644 --- a/.github/workflows/build-project.yaml +++ b/.github/workflows/build-project.yaml @@ -37,7 +37,7 @@ jobs: ;; push) config_data=('codesign:true' 'notarize:false' 'package:true' 'config:RelWithDebInfo') - if [[ ${GITHUB_REF_NAME} =~ [0-9]+.[0-9]+.[0-9]+(-(rc|beta).+)? ]]; then + if [[ ${GITHUB_REF_NAME} =~ [0-9]+-[0-9]+-[0-9]+(-(rc|beta).+)? ]]; then config_data[1]='notarize:true' config_data[3]='config:Release' fi