File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -103,8 +103,12 @@ jobs:
103
103
run : |
104
104
TAG=${{ needs.set_tag.outputs.tag }}
105
105
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 .
108
112
- name : Upload artifact
109
113
uses : actions/upload-artifact@v4
110
114
with :
Original file line number Diff line number Diff line change @@ -105,7 +105,8 @@ if(ENABLE_SYSTEM_GLM)
105
105
endif ()
106
106
107
107
if (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 )
109
110
endif ()
110
111
111
112
if (NOT BUILD_SHARED_LIBS AND CMAKE_SYSTEM_NAME STREQUAL "Windows" )
You can’t perform that action at this time.
0 commit comments