We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 961cb58 commit cd5335fCopy full SHA for cd5335f
1 file changed
scripts/build-plugin.sh
@@ -45,12 +45,11 @@ build_plugin() {
45
exit 1
46
fi
47
48
- # Find the built plugin bundle
49
- local plugin_bundle
50
- plugin_bundle=$(find "$build_dir" -name "*.tableplugin" -maxdepth 1 | head -1)
+ # Find the built plugin bundle by target name
+ local plugin_bundle="$build_dir/${PLUGIN_TARGET}.tableplugin"
51
52
- if [ -z "$plugin_bundle" ]; then
53
- echo "FATAL: No .tableplugin bundle found in $build_dir" >&2
+ if [ ! -d "$plugin_bundle" ]; then
+ echo "FATAL: Plugin bundle not found at $plugin_bundle" >&2
54
55
56
0 commit comments