File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,11 @@ jobs:
8282 ls -R
8383 pwd
8484
85- cp "$repo_name/plugin.json" dist/"$repo_name"/plugin.json 2>/dev/null || echo "::error::plugin.json not found, skipping."
86- cp "$repo_name/requirements.txt" dist/"$repo_name"/requirements.txt 2>/dev/null || echo "::warning::requirements.txt not found, skipping."
87- cp "$repo_name/README.md" dist/"$repo_name"/README.md 2>/dev/null || echo "::warning::README.md not found, skipping."
88- cp "$repo_name/README" dist/"$repo_name"/README 2>/dev/null || echo "::warning::README not found, skipping."
85+ cp "plugin.json" dist/plugin.json 2>/dev/null || { echo "::error::plugin.json was not found. It is required for plugins to have."; exit 1; }
86+
87+ cp "requirements.txt" dist/requirements.txt 2>/dev/null || echo "::warning::requirements.txt not found, skipping."
88+ cp "README.md" dist/README.md 2>/dev/null || echo "::warning::README.md not found, skipping."
89+ cp "README" dist/README 2>/dev/null || echo "::warning::README not found, skipping."
8990
9091 backend=$(jq -r '.backend' plugin.json)
9192 if [ "$backend" != "null" ]; then
You can’t perform that action at this time.
0 commit comments