This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git

commit de79905c2685e3ceb946a7349144e69fcfe827e1
Author: Peter Palaga <[email protected]>
AuthorDate: Tue May 25 09:19:45 2021 +0200

    Document upgrading examples
---
 README.adoc | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/README.adoc b/README.adoc
index fc72b35..5d32b74 100644
--- a/README.adoc
+++ b/README.adoc
@@ -9,4 +9,22 @@ 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]
+----
+$ NEW_CQ_VERSION=1.2.3-SNAPSHOT
+$ find . -type f -name pom.xml -exec sed -i 
"s|<camel-quarkus.version>[^<]*</camel-quarkus.version>|<camel-quarkus.version>$NEW_CQ_VERSION</camel-quarkus.version>|g"
 {} \;
+$ ./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
+----

Reply via email to