Files
i-buy.properties/dateHook.sh

5 lines
104 B
Bash
Raw Normal View History

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