Skip to content

Commit 11efb6e

Browse files
committed
CI: Create distro independent zip for linux releases
1 parent eac2664 commit 11efb6e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/scripts/.build.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Usage: %B${functrace[1]%:*}%b <option> [<options>]
250250
if (( _loglevel > 1 )) cmake_args+=(--verbose)
251251
cmake --install build_${target##*-} --config ${BUILD_CONFIG:-RelWithDebInfo} --prefix "${project_root}/release" ${cmake_args}
252252
cmake --install build_client_${target##*-} --config ${BUILD_CONFIG:-RelWithDebInfo} --prefix "${project_root}/release_client" ${cmake_args}
253-
mv "${project_root}/release_client/io_client/io_client" "$HOME/.config/obs-studio/plugins/${product_name}/"
253+
mv "${project_root}/release_client/io_client" "$HOME/.config/obs-studio/plugins/${product_name}/"
254254
popd
255255
}
256256

.github/scripts/.package.zsh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ Usage: %B${functrace[1]%:*}%b <option> [<options>]
185185
186186
pushd ${project_root}
187187
cmake --build build_${target##*-} --config ${BUILD_CONFIG:-RelWithDebInfo} -t package ${cmake_args}
188+
local output_name="${product_name}-${product_version}-${host_os}-${target##*-}.zip"
189+
zip ${project_root}/release/${output_name} "$HOME/.config/obs-studio/plugins/${product_name}/" -r
188190
popd
189191
}
190192
}

0 commit comments

Comments
 (0)