pgherveou / gulp-awspublish

gulp plugin to publish files to amazon s3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'force' option fails to bypass cache/skip in publish()

vaer-k opened this issue · comments

I believe this is supposed to force the task to publish all files, and to never skip or use cache.

.pipe(publisher.publish(headers, ['force']))

According to my reporter I'm still seing skips:

[13:53:06] [skip]   assets/bluearrow-new.ac8370111c6a9788ee3d83ab07bea0b8.png
[13:53:06] [skip]   assets/chevron-thin-down.0a6ba2769f2ac4010b35348f14e16ffe.svg
[13:53:06] [skip]   assets/dropdownarrow_grey.3b0a6cf14bf59769d24d7d57ca55cc9d.png
[13:53:06] [skip]   assets/fast_focused.2d59a2fc14eca0cffc8ba59413a30c36.png
[13:53:07] [skip]   assets/fast_scattered.6129aecb81c8e12affe1737691b88211.png
[13:53:07] [skip]   assets/fast_very_focused.11747de660c423ffaa9f4a719d4975fd.png
[13:53:08] [skip]   assets/fontello.05f971d8812fe6beef71f5068d314dc9.woff2
[13:53:08] [skip]   assets/fontello.4e2cf01dfc0aed3ff85952ae70fd840a.svg
[13:53:08] [skip]   assets/fontello.55b4982e76603a80c838ceb248c78e60.ttf
[13:53:09] [skip]   assets/fontello.93ea77af63977a0a946b91cf46edd3a6.eot
[13:53:09] [skip]   assets/fontello.d7281a539c1b720150004c093b962b2b.woff
[13:53:09] [skip]   assets/logo-new.33784152555d296fe9d7007e6bd38c09.png
[13:53:10] [skip]   assets/redarrow-new.8b66ec3d1679c9d1617ba66dbfaf6afd.png
[13:53:10] [skip]   assets/slow_focused.b0504d26993a0096176885112e3f391e.png
[13:53:10] [skip]   assets/slow_scattered.e698e746e471309c13e7bc39cd176748.png

Option is a key/value object
did you try {force: true}
see tests as a reference https://github.com/pgherveou/gulp-awspublish/blob/master/test/index.js#L314

That was it. Thank you.