1
0

entrypoint.sh aktualisiert

This commit is contained in:
Anna Christina Naß 2024-04-05 12:33:03 +02:00
parent a0c4fd8fec
commit 4ab9e5892d

View File

@ -28,12 +28,12 @@ PLUGIN_YML=$(find . -regex '\./Koha/Plugin/.*[A-Za-z]*/PLUGIN\.yml$' | sed '1q;d
sed -i -e "s/{VERSION}/${PLUGIN_VERSION}/g" ${PLUGIN_MODULE}
sed -i -e "s/{MINIMUM_VERSION}/${MINIMUM_VERSION}/g" ${PLUGIN_MODULE}
sed -i -e "s/{DATE_UPDATED}/${TODAY_ISO}/g" $PLUGIN_MODULE
sed -i -e "s/{DATE_UPDATED}/${TODAY_ISO}/g" ${PLUGIN_MODULE}
if [ -f "$PLUGIN_YML" ]; then
sed -i -e "s/{VERSION}/${PLUGIN_VERSION}/g" ${PLUGIN_YML}
sed -i -e "s/{MINIMUM_VERSION}/${MINIMUM_VERSION}/g" ${PLUGIN_YML}
sed -i -e "s/{DATE_UPDATED}/${TODAY_ISO}/g" $PLUGIN_YML
sed -i -e "s/{DATE_UPDATED}/${TODAY_ISO}/g" ${PLUGIN_YML}
cat $PLUGIN_YML
fi