diff --git a/.github/scripts/.build.zsh b/.github/scripts/.build.zsh index 03c352b18e0517..6e990cab422bfe 100755 --- a/.github/scripts/.build.zsh +++ b/.github/scripts/.build.zsh @@ -176,7 +176,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 41d11aa0b407e4..c08f9855085b37 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