You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The check in deploy-plugin.sh#L150 is nice but will always evaluate to true as makepot.php will change a timestamp in the POT file on every call.
Some RegEx magic is needed again to revert the file if nothing except the timestamp POT-Creation-Date: 2013-10-18 21:42:46+00:00\n" has changed.
I posted an issue and asked for a change of that behaviour at my preferred WP i18n tools variant: grappler/i18n#4 as this issue should eventually be mitigated at the source.
The text was updated successfully, but these errors were encountered:
I have used this shell script as a pre-commit git hook. In it's current form, it needs customized to your directory structure, but won't commit the regenerated pot file if nothing changed.
The check in deploy-plugin.sh#L150 is nice but will always evaluate to true as makepot.php will change a timestamp in the POT file on every call.
Some RegEx magic is needed again to revert the file if nothing except the timestamp
POT-Creation-Date: 2013-10-18 21:42:46+00:00\n"
has changed.I posted an issue and asked for a change of that behaviour at my preferred WP i18n tools variant: grappler/i18n#4 as this issue should eventually be mitigated at the source.
The text was updated successfully, but these errors were encountered: