forge icon indicating copy to clipboard operation
forge copied to clipboard

cleaning artifacts in S3 bucket before publishing

Open trufak opened this issue 6 months ago • 1 comments

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

trufak avatar Jun 03 '25 03:06 trufak

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)

nikwen avatar Jun 09 '25 13:06 nikwen