Skip to content

Commit 500a275

Browse files
authored
Update the Maven Central publishing URL to avoid sunset service (#3457)
The service we were using to publish to Maven Central was sunset. There is a legacy API that allows us to continue to use our old publising gradle platform, and so I've updated the configuration so that it follows the advice available on their website: https://github.com/gradle-nexus/publish-plugin?tab=readme-ov-file#publishing-to-maven-central-via-sonatype-central This is advertised to be pretty straightforward. The two main steps are (1) update the publishing URL to one that uses a bridge API and (2) modify the credentials to ones generated by the new portal. I've done that (and already updated the secrets on the repo with the new credentials). So we should be able to get a new build published through the new gateway once this is in. I've also gone ahead and removed the release notes for the builds that never actually were published. That way, when we get a new build out, we'll get the correct set of release notes automatically without needing to tweaks those by hand later. This fixes #3456.
1 parent 1d68f6a commit 500a275

File tree

3 files changed

+4
-57
lines changed

3 files changed

+4
-57
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ jobs:
189189
env:
190190
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_PRIVATE_KEY }}
191191
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSPHRASE }}
192+
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
193+
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
192194
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
193-
MAVEN_USER: ${{ secrets.MAVEN_USER }}
194-
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
195195

196196
# Post release: Update various files which reference version
197197
# Updating the yaml files has to be done after the tests complete, or it will mark tests as failing that aren't

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,8 @@ if (Boolean.parseBoolean(centralPublish)) {
310310
nexusPublishing {
311311
repositories {
312312
sonatype {
313-
username = System.getenv("MAVEN_USER")
314-
password = System.getenv("MAVEN_PASSWORD")
313+
// Update the URL now that the OSSRH service has been sunset: https://central.sonatype.org/news/20250326_ossrh_sunset/
314+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
315315
}
316316
}
317317
}

docs/sphinx/source/ReleaseNotes.md

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -5,59 +5,6 @@ This document contains a log of changes to the FoundationDB Record Layer. It aim
55

66
As the [versioning guide](Versioning.md) details, it cannot always be determined solely by looking at the version numbers whether one Record Layer version contains all changes included in another. In particular, bug fixes and backwards-compatible changes might be back-ported to or introduced as patches against older versions. To track when a patch version has been included in the main release train, some releases will say as a note that they contain all changes from a specific patch.
77

8-
## 4.4
9-
10-
### 4.4.2.0
11-
12-
13-
14-
**[Full Changelog (4.4.1.0...4.4.2.0)](https://github.com/FoundationDB/fdb-record-layer/compare/4.4.1.0...4.4.2.0)**
15-
16-
#### Mixed Mode Test Results
17-
18-
Mixed mode testing run against the following previous versions:
19-
20-
`4.2.3.0`, ❌`4.2.4.0`, ✅`4.2.5.0`, ✅`4.2.6.0`, ✅`4.2.8.0`, ✅`4.3.2.0`, ✅`4.3.3.0`, ✅`4.3.3.1`, ✅`4.3.5.0`, ✅`4.3.6.0`
21-
22-
[See full test run](https://github.com/FoundationDB/fdb-record-layer/actions/runs/16003773419)
23-
24-
25-
26-
### 4.4.1.0
27-
28-
<h4> New Features </h4>
29-
30-
* Improve MetaDataProtoEditor handling of unqualified types and add support for renaming all the types - [PR #3402](https://github.com/FoundationDB/fdb-record-layer/pull/3402)
31-
* Enable the Planner Rewrite Rules - [PR #3401](https://github.com/FoundationDB/fdb-record-layer/pull/3401)
32-
<h4> Bug Fixes </h4>
33-
34-
* add placeholders in all appropriate select expressions - [PR #3451](https://github.com/FoundationDB/fdb-record-layer/pull/3451)
35-
36-
<details>
37-
<summary>
38-
39-
<h4> Build/Test/Documentation/Style Improvements (click to expand) </h4>
40-
41-
</summary>
42-
43-
* Pick correct locally generated build for `!current_version` tests - [PR #3455](https://github.com/FoundationDB/fdb-record-layer/pull/3455)
44-
* Have ExternalServer dynamically find available ports - [PR #3398](https://github.com/FoundationDB/fdb-record-layer/pull/3398)
45-
46-
</details>
47-
48-
49-
**[Full Changelog (4.3.6.0...4.4.1.0)](https://github.com/FoundationDB/fdb-record-layer/compare/4.3.6.0...4.4.1.0)**
50-
51-
#### Mixed Mode Test Results
52-
53-
Mixed mode testing run against the following previous versions:
54-
55-
`4.2.3.0`, ❌`4.2.4.0`, ✅`4.2.5.0`, ✅`4.2.6.0`, ✅`4.2.8.0`, ✅`4.3.2.0`, ✅`4.3.3.0`, ✅`4.3.3.1`, ✅`4.3.5.0`, ✅`4.3.6.0`
56-
57-
[See full test run](https://github.com/FoundationDB/fdb-record-layer/actions/runs/16002338481)
58-
59-
60-
618
## 4.3
629

6310
### 4.3.6.0

0 commit comments

Comments
 (0)