This is an automated email from the ASF dual-hosted git repository. ppalaga pushed a commit to branch camel-quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git
commit d183d7c0146f5a0a93e5d37c9bac705ce1d77a67 Author: Peter Palaga <[email protected]> AuthorDate: Tue May 25 09:19:45 2021 +0200 Document upgrading examples --- README.adoc | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.adoc b/README.adoc index fc72b35..4371c9d 100644 --- a/README.adoc +++ b/README.adoc @@ -9,4 +9,23 @@ Useful links: == Feedback -Please report bugs and propose improvements via https://github.com/apache/camel-quarkus/issues[GitHub issues of Camel Quarkus] project. \ No newline at end of file +Please report bugs and propose improvements via https://github.com/apache/camel-quarkus/issues[GitHub issues of Camel Quarkus] project. + +== Contributing + +=== Branches + +The `main` branch should always point at the latest Camel Quarkus release. +The `camel-quarkus-main` branch points at the Camel Quarkus snapshot version currently available in Camel Quarkus `main` branch. + +=== Upgrading Camel Quarkus + +[source,shell] +---- +$ OLD_CQ_VERSION=1.2.2 +$ NEW_CQ_VERSION=1.2.3-SNAPSHOT +$ for each example sed -i "s|<camel-quarkus.version>$OLD_CQ_VERSION</camel-quarkus.version>|<camel-quarkus.version>$NEW_CQ_VERSION</camel-quarkus.version>|g" pom.xml +$ ./mvnw-for-each.sh org.l2x6.cq:cq-maven-plugin:0.25.0:sync-example-properties +# Possibly also change the project versions +./mvnw-for-each.sh versions:set -DnewVersion=1.2.3-SNAPSHOT +----
