For my https://github.com/bkimminich/juice-shop project I use a webhook provided by Sourceforge (https://sourceforge.net/p/juice-shop/files/github_webhook
) to create a release over there whenever the Release
event is fired by GitHub. This webhook picks up all files attached to the release (on GitHub) and uploads them to Sourceforge. So far, so good.
My problem now is, that I attach more files to the release later during the CI/CD process, namely pre-packaged distribution archives built on Tavis-CI and Appveyor. These do not make it to Sourceforge, because they don't exist yet when the webhook is originally executed. There is no automatic re-triggering of the webhook on a change (i.e. attaching more files) to a GitHub release, it would seem.
The workaround for this problem is to manually re-trigger the last webhook call, which will then pick up all files, including those that were added later, and upload them to Sourceforge.
But this is a manual process, so it kind of breaks the last step in my automation chain. Is there a way to automate this properly?