mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-19 16:52:25 +00:00
Exclude debug vcpkg libs from packaging
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
56446f7a12
commit
05fd084c5f
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -120,9 +120,9 @@ jobs:
|
|||||||
|
|
||||||
for vcpkg_dir in ../vcpkg_installed ../../vcpkg_installed; do
|
for vcpkg_dir in ../vcpkg_installed ../../vcpkg_installed; do
|
||||||
if [ -d "$vcpkg_dir" ]; then
|
if [ -d "$vcpkg_dir" ]; then
|
||||||
lib_count="$(find "$vcpkg_dir" -path "*/debug/*" -prune -o -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) -print | wc -l)"
|
lib_count="$(find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print | wc -l)"
|
||||||
if [ "$lib_count" -gt 0 ]; then
|
if [ "$lib_count" -gt 0 ]; then
|
||||||
find "$vcpkg_dir" -path "*/debug/*" -prune -o -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) -print0 | \
|
find "$vcpkg_dir" -type f \( -name "*.so" -o -name "*.so.[0-9]*" \) ! -path "*/debug/*" -print0 | \
|
||||||
while IFS= read -r -d '' lib; do
|
while IFS= read -r -d '' lib; do
|
||||||
zip_add_unique "$lib"
|
zip_add_unique "$lib"
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user