Skip to content

Commit e022073

Browse files
committed
doc(release): document 6.x manual release process
Signed-off-by: Marc Nuri <[email protected]>
1 parent 1693c41 commit e022073

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

doc/RELEASE.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## Kubernetes Client 6.x
2+
3+
The CI pipeline for the Kubernetes Client 6.x is outdated and no longer functional with the new Sonatype Maven Central.
4+
The main issue is that since the release process requires compiling the project with multiple JDK versions in split processes,
5+
the new `central-publishing-maven-plugin` does not support this workflow.
6+
7+
To be able to still release the Kubernetes Client 6.x, we have to use a manual process.
8+
9+
> [!NOTE]
10+
> The SNAPSHOTs pipeline is still working since the SNAPSHOT release process is similar to that of the OSSRH repository.
11+
12+
### Manual Release Process
13+
14+
#### Build and install the project
15+
16+
Run the following command to build and install the project locally:
17+
18+
```bash
19+
PASSPHRASE=<your_passphrase> ./scripts/6.x-release.sh
20+
```
21+
22+
`PASSPHRASE` is the passphrase for the GPG key used to sign the artifacts.
23+
24+
#### Generate the ZIP bundle
25+
26+
Run the following command to generate the ZIP bundle:
27+
28+
```bash
29+
./scripts/6.x-bundle.sh
30+
```
31+
32+
This will create a ZIP file in a `/tmp/tmp.xxxxxxxxxxx` directory with the name `kubernetes-client-6.x.x-bundle.zip`.
33+
34+
#### Upload the ZIP bundle to Sonatype
35+
36+
Upload the generated ZIP bundle to Sonatype Maven Central using their web interface.
37+
38+
https://central.sonatype.com/publishing/deployments
39+
40+
Ensure that it validates and then click on "Publish".
41+

0 commit comments

Comments
 (0)