From a02b2ac8190a7dda001f8d767af614e19cb1b3b7 Mon Sep 17 00:00:00 2001 From: Kaito Udagawa Date: Wed, 11 Oct 2023 04:47:54 +0900 Subject: [PATCH] Revert Fix CI partially (#38) * Revert "Fix CI (#37)" This reverts commit 832efe186595acb71011b6d3a4341ad8592217e0. * Update build-project.yaml * Update .build.zsh --- .github/scripts/.package.zsh | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/scripts/.package.zsh b/.github/scripts/.package.zsh index 6ed9e56..076d897 100755 --- a/.github/scripts/.package.zsh +++ b/.github/scripts/.package.zsh @@ -180,23 +180,13 @@ ${_usage_host:-}" if (( _loglevel > 1 || ${+CI} )) _tarflags="v${_tarflags}" if (( package )) { - if [[ ! -f ${project_root}/build_macos/Distribution.generated.xml ]] { - log_error 'Distribution file not found. Run the build script or the CMake build and install procedures first.' + if [[ ! -f ${project_root}/release/${config}/${product_name}.pkg ]] { + log_error 'Installer Package not found. Run the build script or the CMake build and install procedures first.' return 2 } log_group "Packaging ${product_name}..." pushd ${project_root} - pkgbuild \ - --component "${project_root}/release/${config}/${product_name}.plugin" \ - --install-location "/Library/Application Support/obs-studio/plugins" \ - --scripts "${project_root}/cmake/macos/resources/scripts" \ - "${project_root}/release/${config}/${product_name}-flat.pkg" - productbuild \ - --distribution "${project_root}/build_macos/Distribution.generated.xml" \ - --package-path "${project_root}/release/${config}" \ - "${project_root}/release/${config}/${product_name}.pkg" - rm "${project_root}/release/${config}/${product_name}-flat.pkg" if (( codesign )) { read_codesign_installer