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