diff --git a/entrypoint.sh b/entrypoint.sh index 14f7160..288ecd6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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