This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new f62ac2e Update release-guide with examples tagging too
f62ac2e is described below
commit f62ac2e0e2c22bb7d9f71005bd4732fd2e6c2d0a
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Aug 6 18:49:12 2020 +0200
Update release-guide with examples tagging too
---
.../modules/ROOT/pages/release-guide.adoc | 69 ++++++++++++++++++++++
1 file changed, 69 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/release-guide.adoc
b/docs/user-manual/modules/ROOT/pages/release-guide.adoc
index 040537b..b82b365 100644
--- a/docs/user-manual/modules/ROOT/pages/release-guide.adoc
+++ b/docs/user-manual/modules/ROOT/pages/release-guide.adoc
@@ -393,3 +393,72 @@ This will release the artifacts.
* On https://github.com/apache/camel-website/tree/master/static/schema the xsd
related to blueprint,cxf,spring-security and spring
must be pushed to make them available to end users.
* The blueprint one are under the camel-karaf release
+
+[[Tagging-examples]]
+== Tagging examples
+
+These steps are optional and they could be done later too.
+
+* Once the release train (camel, camel-karaf and camel-spring-boot) has been
voted and published, there are some additional steps needed for the camel
examples.
+
+- Camel-examples
+
+* On https://github.com/apache/camel-examples in the examples/pom.xml file the
following steps are needed:
+ * Update the camel-dependencies version to the version coming from the
release-train
+ * Update the camel.version properties to the version coming from the
release-train
+ * To be sure everything is fine run
+ $ ./mvnw clean install
+ * Commit
+ $ git commit -a
+ * git push origin master (or the branch related to the release, eg.
camel-3.4.x)
+ * git tag -a camel-example-$version -m "$version"
+ * git push origin camel-example-$version
+* Now we pushed the tag and we need to advance the version of the examples
+ * Update the camel-dependencies version to the next version
+ * Update the camel.version properties to the next version
+ * Run the following command to advance the version in the examples
+ $ find . -type f -exec sed -i 's/$oldVersion/$newVersion/g' {} +
+ * To be sure everything is fine run
+ $ ./mvnw clean install
+
+- Camel-spring-boot-examples
+
+* On https://github.com/apache/camel-spring-boot-examples in the
examples/pom.xml file the following steps are needed:
+ * Update the camel-dependencies version to the version coming from the
release-train
+ * Update the camel.version properties to the version coming from the
release-train
+ * To be sure everything is fine run
+ $ ./mvnw clean install
+ * Commit
+ $ git commit -a
+ * git push origin master (or the branch related to the release, eg.
camel-3.4.x)
+ * git tag -a camel-spring-boot-examples-$version -m "$version"
+ * git push origin camel-spring-boot-examples-$version
+* Now we pushed the tag and we need to advance the version of the examples
+ * Update the camel-dependencies version to the next version
+ * Update the camel.version properties to the next version
+ * Run the following command to advance the version in the examples
+ $ find . -type f -exec sed -i 's/$oldVersion/$newVersion/g' {} +
+ * To be sure everything is fine run
+ $ ./mvnw clean install
+
+- Camel-karaf-examples
+
+* On https://github.com/apache/camel-karaf-examples in the examples/pom.xml
file the following steps are needed:
+ * Update the camel-dependencies version to the version coming from the
release-train
+ * Update the camel.version properties to the version coming from the
release-train
+ * Update the camel.karaf.version properties to the version coming from the
release-train
+ * To be sure everything is fine run
+ $ ./mvnw clean install
+ * Commit
+ $ git commit -a
+ * git push origin master (or the branch related to the release, eg.
camel-3.4.x)
+ * git tag -a camel-karaf-examples-$version -m "$version"
+ * git push origin camel-karaf-examples-$version
+* Now we pushed the tag and we need to advance the version of the examples
+ * Update the camel-dependencies version to the next version
+ * Update the camel.version properties to the next version
+ * Update the camel.karaf.version properties to the next version
+ * Run the following command to advance the version in the examples
+ $ find . -type f -exec sed -i 's/$oldVersion/$newVersion/g' {} +
+ * To be sure everything is fine run
+ $ ./mvnw clean install