File renamed without changes
portalzine / Codekit - Timestamp Hook
Last active 3 months ago
Add current timestamp to files, when compiling
portalzine
revised this gist 1 year ago
·
208db7b
1 file changed
portalzine
revised this gist 1 year ago
·
8cd54f9
1 file changed, 2 insertions
| @@ -0,0 +1,2 @@ | |||
| 1 | + | NOW=`date "+%a %Y-%m-%d %T"` | |
| 2 | + | sed -i -- "s|{{TIMESTAMP}}|${NOW}|g" $CK_OUTPUT_PATH | |