Files
i-buy.properties/dateHook.sh

5 lines
103 B
Bash
Raw Permalink Normal View History

#!/bin/bash
lastDate=$(git log --pretty=format:"%ad" -1)
2017-02-15 01:42:31 -06:00
sed -e "s/\$Date.*\\$/$Date: ${lastDate} $/"