stag-java
stag-java copied to clipboard
Publish snapshot versions between releases
Issue Summary
It would be helpful to publish snapshots of the current dev
branch to a maven repo (maybe http://www.sonatype.org/nexus/) so that we could test/use the version in development before it gets released. This would help to iron out any bugs that are in a version before it is officially released. This matches what many other open source libraries do (e.g. https://github.com/square/okhttp) between versions.
Alternatively, we could just upload a beta version to bintray.
Hoping to start internal discussion on this soon.
I've officially put this on our CI team's roadmap, so I'm hopeful that we might be able to publish snapshots soon.
As for how snapshot will be published, I'm against pushing snapshots directly to bintray, as that will be annoying for consumers that don't want to use unstable versions but are reminded via lint that there is a new version of the library available. I've experienced this with libraries before and it becomes harder to figure out what version should be depended on (e.g. is 2.0.0
newer than 2.0.0-beta
). My goal is to have the snapshots published to a separate nexus repo. Snapshots will be automatically built for each merge/commit to the dev branch and published to the repository. Consumers will add the appropriate URL to their repositories list in order to get the snapshots.
In the meantime, I'll just be diligent with publishing releases for any bugfixes that consumers of the library need.
Since we are using Jitpack for other vimeo libraries, we are going to use that for snapshots.