blog/scripts/build.sh

4 lines
110 B
Bash
Executable File

sed -i "s/buildDate: [0-9]\+/buildDate: $(date +%m%d%H%M)/" config.yml
echo buildDate: $(date +%m%d%H%M)
hugo