twolfson / grunt-zip

Zip and unzip files via a grunt plugin
MIT License
87 stars 19 forks source link

placeholders within zip file name #6

Closed markusfalk closed 11 years ago

markusfalk commented 11 years ago

mabye you could make it possible to use something like this:

zip: { '<%= grunt.template.today("yyyy-mm-dd") %>_<%= pkg.name %>.zip': ['index.html'] }

twolfson commented 11 years ago

I think this should be possible -- I might have lost this for 0.4 with the dual compatibility for 0.3.

I will test/add in the functionality later (hopefully this weekend).

twolfson commented 11 years ago

Hey Markus, I just finished up patching this. It was a problem in grunt-retro (the dual compatibility plugin I mentioned) but it has been patched now. There is also a test to back this up ;)

If you upgrade to grunt-zip@0.4.0, you will get the fix.

markusfalk commented 11 years ago

Thanks again