-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Bintray is closing down in May 2021 #7179
Comments
Can't we push to mavenCentral directly? |
There are a few problems:
|
I have all the ReactiveX keys. |
Secrets can be added to GitHub: https://github.com/vanniktech/gradle-maven-publish-plugin/settings/secrets/actions (replace username / repo with target repo): And then they can be used in GitHub actions: name: Publish Release
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK 8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Upload release
run: ./gradlew uploadArchives --no-daemon --no-parallel
env:
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
ORG_GRADLE_PROJECT_SIGNING_PRIVATE_KEY: ${{ secrets.SIGNING_PRIVATE_KEY }}
ORG_GRADLE_PROJECT_SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
- name: Publish release
run: ./gradlew closeAndReleaseRepoistory --no-daemon --no-parallel
env:
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_SONATYPE_NEXUS_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} They key itself needs to be distributed in order for this to work though. Instructions are here. |
I don't think we need to generate new keys. How do we get the existing private key up there? Do we need a gpg file added to the project, then reference it from gradle.properties (consequently the key id & passwords are the secrets in your example)? |
Posted #7181. @benjchristensen Could you update |
Yes, I'll do that. |
Trying to figure out which of the keys it is ... it's been a while :-) |
I've got on PGP key with a passphrase, and one without. Not sure which one needs to be used here, so I'll upload the one with a passphrase. |
Ok, I guess that can be tried now, and if that doesn't work, I can change it to the other one. Do you need the public key or do you have that already? |
No need for the public key. |
First step, ensure the snapshot is still working. https://github.com/ReactiveX/RxJava/runs/1840358093 |
Pre-released 3.0.11-RC1: https://github.com/ReactiveX/RxJava/runs/1840960933 |
Almost works, @vanniktech No staging repository prefixed with "ioreactivexrxjava3" found. Mae sure you called ./gradlew uploadArchives and |
Now it failed with something and I see two staging repositories opened within 30 seconds of each other. |
It worked this time. 3.0.11-RC3 should be in maven central shortly. @benjchristensen I think the key setup worked. |
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/
I don't fully understand what this means for release processes using
gradle-bintray-plugin
or how to migrate.The text was updated successfully, but these errors were encountered: