grunt-deployments icon indicating copy to clipboard operation
grunt-deployments copied to clipboard

Add Option for format of backups dir naming convention

Open getdave opened this issue 12 years ago • 0 comments

At the moment the script creates directories for sql dumps based on the date and time at the point the script was run.

However it might also be useful to store them by git commit hash.

In which case we should allow the script to be configurrable enough to allow this.

Btw, a slick one liner to get the last commit hash is

git log -n1|head -n1|grep -o '[[:xdigit:]]\{7,\}'

getdave avatar Jun 24 '13 16:06 getdave