I need copy files from folder src/plugin@x.x.x to dist/plugin.
Version can be changed so I want to omit version number everywhere. I do:
files[{
cwd: 'src'
src: 'plugin@*/**/*'
dest: 'dist/plugin'
}];
But it copy my files to dist/plugin/plugin@x.x.x directory.
I want my files in dist/plugin directory (without specify x.x.x in grunt task).