Open mockitoguy opened 10 years ago
This can be done by skipping an upload if the sha1 of the artifact is already the same for the target path. Is your main goal to save the upload time or to avoid the version publication notification?
Hey Yoav, sorry for late answer - for some reason I haven't seen a notification about your reply.
My main use case is avoid releasing a new version if every artifact included in the publishing task is binary equal with previously released ones. It is useful in continuous deployment mode when every push to GitHub releases a new version (Mockito automation is set up this way).
The exact use case is:
Think about it :) I'd say it would be very useful for continuous deployment!
Hey,
It would be awesome if there was some way to configure bintray plugin to avoid uploading a new version if latest version is binary the same.
My use case is continuous deployment of Mockito. I'm already pushing new minor version for every successful build after every push. However, sometimes I just push some changes to the project that do not incur any changes to the binaries that are published.
Anyhow, I'll implement this myself in Mockito build - just wanted to give heads up that some support for this would very useful :)
Thanks guys for bintray!