-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
publish aar to bintray #25
Conversation
Great! I'm no good in gradle, so no real review from me, just a few questions / suggestions:
|
We also can add bintray badge to README :) |
I'll add bintray badge, url to the repo, and how to use it in another MR after the first release.
No, I don't, actually. I don't saw such practices in java world.
It depends. If the library with this version was published in bintray, then the second publishing attempt will fail. Bintray forbids updating artifacts. |
release workflow description added |
I guess I can try this approach |
Great! I also agree with the continuous deployment approach of getting the version from git tag (for example by using https://github.com/palantir/gradle-git-version gradle plugin). In both cases (with gradle hard-coded version or with git tag version) we have to differentiate versioning from pure roc-java releases (JAR artifacts) to android releases (AAR artifacts). Any thoughts about that? Secondly, in the travis Lastly, for authenticity reasons we should digitally sign the artifact with a GPG key (adding |
Now version gathering from git tag.
I thought the easiest way is releasing jar and aar together
Configuration added. |
@MatteoArella Can we just build and publish two artifacts from one tag? Are there any caveats?
Sounds good! Could you create an issue for that? And as for force-pushing tags which I mentioned above, maybe we can just forbid it by marking them protected in github repo settings. |
Cool, added this to #13. |
Yes |
Yes surely we can use the same tag for both releases. The only caveat that comes in my mind would be for example in case new modifies are made for something related only to pure java release (for example something related to build system); in that case they would trigger also a new android release. Anyway that would not be a real problem.
Yes of course. |
Great! Lastly, @gavv after cloning |
Indeed, but I think first we need to choose how to map bindings version to toolkit versions and thus determine what versions we want to test. BTW, we'll probably want to test bindings with multiple versions of toolkit on CI (according to our mapping). |
@ortex Please rebase on fresh master, it should fix the build. |
+1 from me |
done I guess so, let's see what @MatteoArella thinks. |
Yes 👍 |
Publish aar to bintray #19
Current release workflow:
0.0.1
v0.0.1
I've added env variables to travis to publish into https://bintray.com/roc-streaming/maven repo