File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 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+
You can’t perform that action at this time.
0 commit comments