1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-08 22:08:02 +00:00
sgminer/tools/update_changelog.sh
2014-06-27 18:24:28 +03:00

10 lines
311 B
Bash
Executable File

#!/bin/sh
FILE="$(dirname "$0")/../ChangeLog"
UPDATECMD="git log --oneline --decorate"
echo "Updated on `date`." > $FILE
echo "If working with git, use \`$UPDATECMD\` for latest change log." >> $FILE
echo "------------------------------------------------------------------------" >> $FILE
$UPDATECMD >> $FILE