{DATE_UPDATED} statt 1900-01-01
This commit is contained in:
parent
9bc0033d89
commit
a0c4fd8fec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user