caitp/grunt-bower-release — pull request #10 by kkruit (2014-03-28 19:25:24+00:00)
Title: fix(stage-copy): cwd expand file options not copying to stage directory

This should resolve issue #8.

Biggest change was to checking if the item.orign had a dest instead of just item as the grunt files option populates those for you. Then using that generated item.dest for output into stage dir instead of the item.src because it has the full relative path not the path from the cwd.

Broke out some of the logic in the build to stage dest conditions into functions to add some clarity.