dasuchin / grunt-ssh-deploy

Grunt SSH Deployment
MIT License
66 stars 45 forks source link

Let user configure both release tag and relase root folder #43

Closed labbati closed 9 years ago

labbati commented 9 years ago

In some circumstances, you may need more flexibility on how the deployment folder is organized. I added a couple of more options:

In both cases I maintained the default to the values provided by the current implementation.

hurricane766 commented 9 years ago

You may want to make a note for the tag / releases_to_keep options, as the releases to keep will sort the directories in reverse order ( ls -r ) to decide which ones to delete. The tag would have to work such that newer releases are at the top of this sort.

labbati commented 9 years ago

Good call @hurricane766, just added a commit