clineamb / gulp-s3-upload

A gulp task to upload/update assets to an S3 account.
62 stars 37 forks source link

Unable to override metadata for existing files #57

Open sankar-ganesh opened 6 years ago

sankar-ganesh commented 6 years ago

Hi,

I am trying to override the metadata set every time when I run the upload script. New files looks good but I am unable to override metadata for existing files. Please do the needful.

For Example: Metadata: { 'Cache-Control': 'max-age=31536000, no-transform, public', 'Last-Modified': today.getTime().toString(), 'x-amz-acl': 'private' }

Last-Modified is not updated and I see "No Change" in the logger