Skip to content

Commit

Permalink
CI: Create distro independent zip for linux releases
Browse files Browse the repository at this point in the history
  • Loading branch information
univrsal committed Mar 8, 2023
1 parent eac2664 commit 11efb6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/.build.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Usage: %B${functrace[1]%:*}%b <option> [<options>]
if (( _loglevel > 1 )) cmake_args+=(--verbose)
cmake --install build_${target##*-} --config ${BUILD_CONFIG:-RelWithDebInfo} --prefix "${project_root}/release" ${cmake_args}
cmake --install build_client_${target##*-} --config ${BUILD_CONFIG:-RelWithDebInfo} --prefix "${project_root}/release_client" ${cmake_args}
mv "${project_root}/release_client/io_client/io_client" "$HOME/.config/obs-studio/plugins/${product_name}/"
mv "${project_root}/release_client/io_client" "$HOME/.config/obs-studio/plugins/${product_name}/"
popd
}
Expand Down
2 changes: 2 additions & 0 deletions .github/scripts/.package.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ Usage: %B${functrace[1]%:*}%b <option> [<options>]
pushd ${project_root}
cmake --build build_${target##*-} --config ${BUILD_CONFIG:-RelWithDebInfo} -t package ${cmake_args}
local output_name="${product_name}-${product_version}-${host_os}-${target##*-}.zip"
zip ${project_root}/release/${output_name} "$HOME/.config/obs-studio/plugins/${product_name}/" -r
popd
}
}
Expand Down

0 comments on commit 11efb6e

Please sign in to comment.