-
Notifications
You must be signed in to change notification settings - Fork 120
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
Moving release process to Bintray #1037
Conversation
a362b1b
to
e22fc0c
Compare
I believe the only remaining work on this pr is figuring out how to delineate whether a version is a SNAPSHOT or a stable/alpha version as mentioned by @LukasPaczos at #995 (comment) |
d39b7d1
to
9f5db83
Compare
9f5db83 added logic to |
@LukasPaczos , I need to request OSS Jfrog access for SNAPSHOTs of each of the 4 Java packages https://bintray.com/message/addPackageToJCenter?pkgPath=%2Fmapbox%2Fmapbox%2Fmapbox-sdk-turf&tab=general 👇 When you did this for the Maps SDK, do you remember what you checked/entered? However, that gives me the following error in the red box. Have you seen this before? What was your work around, if any? |
Or can I make up some sort of unique ID such as |
I did those exact steps while setting up Maps SDK. It's weird that you wouldn't be able to publish another artifact under the same Group ID to Artifactory. Could you try pushing them anyway? The package structure is established on JCenter, so maybe it'll pick it up? If not, the best way would be to contact support - maybe that's not an expected use-case. |
Hm, ok. Will look into it @LukasPaczos . Contacted support as backup. |
Any progress here @langsmith? Have you tried pushing the |
698e45f
to
3ced3c8
Compare
No news, probably because we're not Enterprise customers, so there's no urgency on their part.
You mean publishing the test SNAPSHOT as if it were a stable release, correct? |
As a cautious first step I just did a test run of the 4 modules. Then I published When I clicked on I got the following error message So yea. The hunt continues. |
Think I found at least one error with the POM file. Looks like the Turf POM file above incorrectly has |
Ok, I adjusted so that the correct mapbox-java/gradle/gradle-bintray.gradle Line 13 in 1cc1392
Deleted all other Java SDK files from Bintray, built release files on my local machine and then re-published to Bintray. Better Turf POM file is created:
But darn. Despite all of this, still getting the error message. |
Do the POM files need a |
So weird. https://search.maven.org/artifact/com.mapbox.mapboxsdk/mapbox-sdk-services/4.8.0/jar compared with the |
No, I meant publishing a |
Since we are still blocked on the JCenter front, I'd suggest removing all |
4ba9094
to
0267e0e
Compare
I was testing with https://central.sonatype.org/pages/requirements.html: When I switched to Now we wait for the Bintray team to accept my request so that we have the option to sync the 4 modules' files with MavenCentral 🤞 I won't actually sync because this wasn't a true |
25da773
to
468a2e6
Compare
They gave us permission and we're now able to sync files with MavenCentral. SNAPSHOTs also look setup in our Bintray account. This pr is ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The release process is missing the step that changes the version name and removes the SNAPSHOT
reference in order to support a full tag release. Check out this step. This should be applied for each artifact.
Also, the readme should be updated with the new snapshot repository URL.
Updated |
48a0524
to
38b0aae
Compare
Added the step to |
Ok @LukasPaczos , pushed a commit that addressed your latest review. |
38b0aae
to
3c2054e
Compare
3c2054e
to
9d6593d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
@langsmith tried creating a snapshot but hitting: Task :artifactoryDeploy FAILED FAILURE: Build failed with an exception.
|
Java SDK SNAPSHOTs should be working and available now @tobrun https://oss.jfrog.org/artifactory/oss-snapshot-local/com/mapbox/mapboxsdk/ |
This pr resolves #995 by moving the Java SDK artifact release process to Bintray. The work in this pr is largely based off of similar work done in
mapbox-gl-native
and discussion that's happened in #995.