Files
i-buy.properties/dateHook.sh
2017-02-15 01:06:27 -05:00

5 lines
104 B
Bash
Executable File

#!/bin/bash
lastDate=$(git log --pretty=format:"%ad" -1)
sed -e "s/\$DATE[^\$]\$/$DATE: ${lastDate}$/"