blog/scripts/build.sh

4 lines
172 B
Bash
Raw Normal View History

2023-10-31 16:11:59 +09:00
sed -i.old "s/buildDate: [0-9]\+-[0-9]\+-[0-9]\+_[0-9]\+:[0-9]\+:[0-9]\+/buildDate: $(date +%Y-%m-%d_%H:%M:%S)/" config.yml
2023-10-31 16:21:18 +09:00
echo buildDate: $(date +%Y-%m-%d_%H:%M:%S)
2023-10-31 16:11:59 +09:00
hugo