forge
forge copied to clipboard
cleaning artifacts in S3 bucket before publishing
Pre-flight checklist
- [x] I have read the contribution documentation for this project.
- [x] I agree to follow the code of conduct that this project uses.
- [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem description
I use @electron-forge/publisher-s3 to publish artifacts. However, when publishing, artifacts from previous versions also remain in the bucket.
Proposed solution
It would be more convenient if such an artifact cleaning function in the S3 bucket were available in @electron-forge/publisher-s3 before publication.
Alternatives considered
I have to use another script to delete them.
Additional information
No response
Note: This should be optional to support use cases such as the following:
- Delta updates (e.g., via Squirrel.Windows)
- Staged rollouts (e.g., via Squirrel.Windows)