This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push: new 620d0d017 chore(docs): release updates 620d0d017 is described below commit 620d0d0173721a68d91963118b2b27a7e5be4607 Author: Pasquale Congiusti <pasquale.congiu...@gmail.com> AuthorDate: Tue Dec 19 17:44:46 2023 +0100 chore(docs): release updates --- release.adoc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/release.adoc b/release.adoc index 256b3907a..4d6248706 100644 --- a/release.adoc +++ b/release.adoc @@ -67,24 +67,27 @@ NOTE: you can run the script with -d option to dry run and evaluate the changes [[releasing-camel-k-crds]] === Release Camel K CRD dependency -Camel K ships a Maven dependency containing the CRDs required in Kubernetes. This dependency is available in `/java/` directory and has to be released together with Camel K. The process below is the same used for Camel K Runtime. +Checkout the release branch for which you want to perform the release: +``` +git checkout release-2.x.0 +``` To prepare a release and check problems: ``` -cd java -./mvnw release:prepare -Prelease -DautoVersionSubmodules=true -DdryRun +cd java/crds +mvn release:prepare -Prelease -DautoVersionSubmodules=true -DdryRun ``` Check the signatures of the files, then clean and prepare the actual release: ``` -./mvnw release:clean release:prepare -Prelease -Duser=<your Apache LDAP id> [-Dpassword=<your Apache LDAP pwd>] -Darguments=-DskipTests -DautoVersionSubmodules=true +mvn release:clean release:prepare -Prelease -Duser=<your Apache LDAP id> [-Dpassword=<your Apache LDAP pwd>] -Darguments=-DskipTests -DautoVersionSubmodules=true ``` Then perform the release (use any settings holding your Apache credentials): ``` -./mvnw release:perform -Prelease [-s path/to/your/settings.xml] +mvn release:perform -Prelease [-s path/to/your/settings.xml] ``` Go to https://repository.apache.org/ and close the staging repository.