1
0

{DATE_UPDATED} statt 1900-01-01

This commit is contained in:
Anna Christina Naß 2024-04-05 12:20:38 +02:00
parent 9bc0033d89
commit a0c4fd8fec

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/1900-01-01/${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/1900-01-01/${TODAY_ISO}/g" $PLUGIN_YML
sed -i -e "s/{DATE_UPDATED}/${TODAY_ISO}/g" $PLUGIN_YML
cat $PLUGIN_YML
fi