msys2 / msys2-autobuild

🏭🏭🏭🏭🏭🏭🏭🏭
https://packages.msys2.org/queue
MIT License
35 stars 25 forks source link

clean-assets: delete realease in case all assets need to be deleted #77

Closed lazka closed 11 months ago

lazka commented 11 months ago

For this Python rebuild we had >5000 files and requires manual fixing when we need to clean things up because we would hit the api limit 5 times.

In case every asset of a release is about to be deleted we could just delete the whole release instead.

jeremyd2019 commented 11 months ago

There were "only" about 820 files for clangarm64, it was able to delete them all in one go.

jeremyd2019 commented 11 months ago

One thing to be aware of is that deleting and re-creating releases results in github sending notifications. I may unsubscribe from release notifications specifically if this happens very often...

lazka commented 11 months ago

oh, good point