diff --git a/entrypoint.sh b/entrypoint.sh index 038884f..14f7160 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,7 +5,6 @@ PLUGIN_NAME=$2 MINIMUM_VERSION=$3 PLUGIN_MODULE=$4 -echo "Neu ------" echo "PLUGIN VERSION: $PLUGIN_VERSION" echo "PLUGIN NAME: $PLUGIN_NAME" echo "MINIMUM VERSION: $MINIMUM_VERSION" @@ -41,6 +40,10 @@ fi PLUGIN_DIR=${PLUGIN_MODULE::-3} echo "PLUGIN DIR: $PLUGIN_DIR" +if [ ! -d $PLUGIN_DIR ]; then + mkdir -v $PLUGIN_DIR +fi + if [ -f "../CHANGELOG.md" ]; then echo "CHANGELOG.md found, copying to plugin directory" cp ../CHANGELOG.md "$PLUGIN_DIR/CHANGELOG.md"