`stable packagecloud` jobs push multiple versions of the same package
The stable packagecloud
jobs, which are part of a release pipeline, somehow push multiple versions of the same package for each os/arch/version. Strangely some of these jobs sometimes fail with filename already exists
errors, suggesting packagecloud does not allow pushing a file if it already exists, but yet of one goes to https://packages.gitlab.com/app/runner/gitlab-runner, it is possible to find multiple versions of a file for a given os/arch/version
combination. Furthermore, when a release pipeline fails and must be rerun, one has to delete the already pushed files from packagecloud, and this duplication means 2x as many files have to be deleted.
Also, it would be nice if we could better handle when a file already exists. E.g., we could HEAD
the file;s url before pushing it, and if the file exists, we delete it before pushing it. e.g.
`curl -I https://packages.gitlab.com/runner/gitlab-runner/packages/linuxmint/sarah/gitlab-runner_16.2.2_s390x.deb`
This way there's one less thing to do manually when recovering from a failed release pipeline.