mirror of
https://github.com/alibaba/higress.git
synced 2026-03-07 10:00:48 +08:00
fix build wasm plugin script (#1251)
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user