gulp-s3 icon indicating copy to clipboard operation
gulp-s3 copied to clipboard

Question: How can I delete the previous version files from the s3 bucket?

Open lucasdavila opened this issue 8 years ago • 3 comments

Hey guys,

I am using gulp-s3 to deploy a web app to S3.

Since the .js and .css files are versioned on each deploy I would like to delete the previous versions of these files (or even rotate it) from the S3 bucket.

I thought about deploying the files to a versioned directory inside the bucket, but I didn't find an option on the code to pass the name of the directory to upload the files.

Can you please give me any suggestion about how to delete or rotate the previous version?

Thank you.

lucasdavila avatar Oct 25 '16 23:10 lucasdavila

Also looking for something like this.

dzbo avatar Apr 27 '17 21:04 dzbo

+1

jrodr12 avatar Feb 09 '18 15:02 jrodr12

Looking for same

vaibhavkumar-sf avatar Aug 23 '18 14:08 vaibhavkumar-sf