dasuchin / grunt-ssh-deploy

Grunt SSH Deployment
MIT License
66 stars 45 forks source link

Releases To Keep - Add Natural Sort Flag #57

Open mjbrown1990 opened 8 years ago

mjbrown1990 commented 8 years ago

When sorting the releases directory to determine which releases to keep, it would be great if it listed the contents of the directory in a reversed natural sort order by adding the -v flag to the existing ls -r command.

This should get over the naming issue when using version numbers for release directories.