rsocket / rsocket-rpc-java

Standard RSocket RPC Java Implementation
http://rsocket.io/
Apache License 2.0
172 stars 41 forks source link

feat: set build number for artifactory upload #51

Closed flyinprogrammer closed 4 years ago

flyinprogrammer commented 5 years ago

today we re-publish the SNAPSHOT artifacts 3 times, and the last build wins, which means 2 of 3 of the plugins are randomly, never available to be used unless you start pinning specific builds of snapshots in your project.

Ideally the mac and windows builds would only create their plugins - then the linux build would compile all the things, download the other two plugins, and publish all the artifacts 1 time - enabling the snapshot publishing to have 1 consistent build number.

Travis doesn't provide us with any storage, so we'd be forced to use something like S3 to accomplish this.

In the meanwhile, because we use Artifactory, in theory we can override the build number on all 3 publishes, and maybe avoid all this work. Of course what I really think is going to happen is that Artifactory is either going to vomit when we try re-uploading the same artifact with the same build number - or none of this will matter because the timestamps will still be wrong.