diff --git a/tools/hack/build-wasm-plugins.sh b/tools/hack/build-wasm-plugins.sh index f81b57784..ca6f77f69 100755 --- a/tools/hack/build-wasm-plugins.sh +++ b/tools/hack/build-wasm-plugins.sh @@ -74,11 +74,11 @@ else version_file="$EXTENSIONS_DIR$file/VERSION" if [ -f "$version_file" ]; then version=$(cat "$version_file") - if ! [[ "$version" =~ -alpha$ ]]; then + if [[ "$version" =~ -alpha$ ]]; then echo "🚀 Build Go WasmPlugin: $name (version $version)" PLUGIN_NAME=${name} BUILDER_REGISTRY="docker.io/alihigress/plugins-" make build else - echo "Plugin version $version ends with '-alpha', skipping compilation for $name." + echo "Plugin version $version not ends with '-alpha', skipping compilation for $name." fi else echo "VERSION file not found for plugin $name, skipping compilation."