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

5 lines
103 B
Bash
Executable File

#!/bin/bash
lastDate=$(git log --pretty=format:"%ad" -1)
sed -e "s/\$Date.*\\$/$Date: ${lastDate} $/"