mirror of
https://github.com/alibaba/higress.git
synced 2026-05-26 21:57:30 +08:00
fix build wasm plugin script (#1251)
This commit is contained in:
@@ -74,11 +74,11 @@ else
|
|||||||
version_file="$EXTENSIONS_DIR$file/VERSION"
|
version_file="$EXTENSIONS_DIR$file/VERSION"
|
||||||
if [ -f "$version_file" ]; then
|
if [ -f "$version_file" ]; then
|
||||||
version=$(cat "$version_file")
|
version=$(cat "$version_file")
|
||||||
if ! [[ "$version" =~ -alpha$ ]]; then
|
if [[ "$version" =~ -alpha$ ]]; then
|
||||||
echo "🚀 Build Go WasmPlugin: $name (version $version)"
|
echo "🚀 Build Go WasmPlugin: $name (version $version)"
|
||||||
PLUGIN_NAME=${name} BUILDER_REGISTRY="docker.io/alihigress/plugins-" make build
|
PLUGIN_NAME=${name} BUILDER_REGISTRY="docker.io/alihigress/plugins-" make build
|
||||||
else
|
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
|
fi
|
||||||
else
|
else
|
||||||
echo "VERSION file not found for plugin $name, skipping compilation."
|
echo "VERSION file not found for plugin $name, skipping compilation."
|
||||||
|
|||||||
Reference in New Issue
Block a user