File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3434 pnpm run build || { echo "Failed to build $d, skipping"; cd ..; continue; }
3535
3636 mkdir -p ../../dist/"$d"
37- cp .millennium ../../dist/"$d".millennium || echo "Failed to move $d to dist"
37+ cp -r .millennium ../../dist/"$d".millennium || echo "Failed to move $d to dist"
3838
3939 cp plugin.json ../../dist/"$d"plugin.json || echo "Failed to move plugin.json to dist"
4040 cp requirements.txt ../../dist/"$d"requirements.txt || echo "Failed to move requirements.txt to dist"
@@ -46,15 +46,15 @@ jobs:
4646
4747 backend=$(jq -r '.backend' plugin.json)
4848 if [ "$backend" != "null" ]; then
49- cp "$backend" ../../dist/"$d""$backend" || echo "Failed to move $backend to dist"
49+ cp -r "$backend" ../../dist/"$d""$backend" || echo "Failed to move $backend to dist"
5050 fi
5151
5252 # Get extra files from include list in plugin.json and move them to dist
5353
5454 include=$(jq -r '.include' plugin.json)
5555 if [ "$include" != "null" ]; then
5656 for file in $include; do
57- cp "$file" ../../dist/"$d""$file" || echo "Failed to move $file to dist"
57+ cp -r "$file" ../../dist/"$d""$file" || echo "Failed to move $file to dist"
5858 done
5959 fi
6060
You can’t perform that action at this time.
0 commit comments