-
Notifications
You must be signed in to change notification settings - Fork 111
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
sbt build #20
Comments
Go to https://bintray.com/reactivex/RxJava/RxScala/view/central Click on Maven Central and see the errors:
|
/cc @jmhofer |
This means adding sbt-pgp as well as some "pomExtra". |
A lot of helpful details for this: http://www.theguardian.com/info/developer-blog/2014/sep/16/shipping-from-github-to-maven-central-and-s3-using-travis-ci |
Do you need the PGP keys in the Travis file for this? |
I just added PGP_ENCRYPTION_PASSWORD to the .travis.yml file |
I need to figure out which of the GPG files I need to provide and how. This was all done in the Jenkins build before on the Gradle plugin. Need to relearn this stuff ... |
Is it intended that there's already a 1.0.0-RC1? Imho RxScala should still be at 0.x.y. |
That's up to you all. Whatever version you want. |
@benjchristensen Do you have the encrypted key files ( |
If what you added is the password which the key files are encrypted with, and your key also has a passphrase, we also need that passphrase in the |
Everything should be prepared now for proper publishing to Maven. We just need to get the keys working. |
I have added the files using the travis encrypt-file mechanism:
Travis will take care of decrypting those files. The PGP_ENCRYPTION_PASSWORD is the passphrase for the key. |
Confusingly those files are failing to be decrypted ... even though they were encrypted using Travis. |
Alright, finally have it working. When adding two files you can't allow Travis to auto generate the keys, as it creates new keys for each file and overwrites the ones generated for the previous file :-$ The private and public keys are now being decrypted correctly and you can make changes to use them. Then you can release with whatever version you want ... perhaps 0.21.0 until everyone agrees on moving to 1.0.0-RC1? |
Here is the log showing the 2 files being decrypted: https://travis-ci.org/ReactiveX/RxScala/jobs/36438163#L35 |
Ok, I'll try to release a 0.21.0. But then, you probably should unpublish 1.0.0-RC1 again. |
For some reason, Bintray returned a "405 Not Allowed" when uploading the 2.11 version of RxScala. Maybe because it was in parallel to uploading 2.10? - Then I'll have to do the crosspublishing in the build instead of letting Travis do it... |
The files released are invalid. https://bintray.com/reactivex/RxJava/RxScala/0.21.0/view/central |
The 2.11 was not completely published. - But I can't see the Maven Central stuff on Bintray. |
Looks like it published and is on its way. |
Yay, finally! |
You can them on the repo now: http://repo1.maven.org/maven2/io/reactivex/ |
Now that #21 is also fine, we can consider this issue resolved, imho :) |
I wonder what happened to the Travis build now. All current PRs have a problem with the keys in the Anyone have any idea what's happening here? |
I know that pull request builds don't allow secure data in them: http://docs.travis-ci.com/user/pull-requests/ So I'm trying to find out how to make it so it doesn't execute that on a pull request. |
Ok, so maybe we can simply move these from before_install into the |
Maybe we can move the
Then we just won't have a |
Yes, I just tried making those changes. It should fix the pull requests, no idea if the publish script will work until next time you try a release. |
If I do locally
and then
then I can see your two commits:
So it looks like Travis got your updates. But it still executes the openssl commands, which is a contradiction -- I don't get it... |
Your .travis.yml file is still the old one. |
Close as the build script works well now. |
Discuss the ongoing work with the sbt build and publishing to Maven Central...
The text was updated successfully, but these errors were encountered: