grunt-deployments
grunt-deployments copied to clipboard
Add Option for format of backups dir naming convention
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,\}'