1
0

entrypoint.sh aktualisiert

This commit is contained in:
Anna Christina Naß 2024-03-05 17:17:56 +01:00
parent a967e874a4
commit 9bc0033d89

View File

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