File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,12 @@ jobs:
103103 run : |
104104 TAG=${{ needs.set_tag.outputs.tag }}
105105 TAR=projectm-$TAG-source.tar.gz
106- # Exclude VCS metadata and the output archive itself to avoid "file changed as we read it" errors
107- tar --warning=no-file-changed --exclude-vcs --exclude="$TAR" -czvf "$TAR" .
106+ # Create a clean clone (with submodules) for packaging
107+ git clone --depth 1 --recurse-submodules . source-pkg
108+ # Remove any VCS metadata in the clone
109+ find source-pkg -name .git -exec rm -rf {} +
110+ # Package the clean source tree
111+ tar -czvf "$TAR" -C source-pkg .
108112 - name : Upload artifact
109113 uses : actions/upload-artifact@v4
110114 with :
Original file line number Diff line number Diff line change @@ -105,7 +105,8 @@ if(ENABLE_SYSTEM_GLM)
105105endif ()
106106
107107if (ENABLE_SYSTEM_PROJECTM_EVAL)
108- find_package (projectM-Eval)
108+ # Attempt to use an external projectm-eval library; fall back to vendored copy if not found
109+ find_package (projectM-Eval QUIET )
109110endif ()
110111
111112if (NOT BUILD_SHARED_LIBS AND CMAKE_SYSTEM_NAME STREQUAL "Windows" )
You can’t perform that action at this time.
0 commit comments