diff --git a/README.md b/README.md index 26fd7f0e1..94c2a6ea3 100644 --- a/README.md +++ b/README.md @@ -147,24 +147,18 @@ Kamelets submitted with tests that verify their correctness **MUST** be labeled This project is released as standard Apache Camel module. -To release it, first set the version of the project to the next tag and release it: +To release it, first set the next release version in the kamelets: ``` export CAMEL_KAMELET_VERSION=x.y.z -./mvnw versions:set -DnewVersion=$CAMEL_KAMELET_VERSION -DgenerateBackupPoms=false -``` - -Then, build the project to update Kamelet references: - -``` -./mvnw clean install +./mvnw clean install -DreleaseVersion=$CAMEL_KAMELET_VERSION ``` Stage the commits in SVN: ``` -git commit -am "Prepare for release $CAMEL_KAMELET_VERSION" +git commit -am "Update Kamelets for release $CAMEL_KAMELET_VERSION" git push upstream main ``` @@ -194,3 +188,17 @@ Then perform the release: ``` ./mvnw release:perform -Prelease ``` + +Restore Kamelets: + +``` +./mvnw clean install +``` + +Update remote git: + +``` +git commit -am "Restore Kamelets for development" + +git push upstream main +``` diff --git a/library/camel-kamelets-catalog/pom.xml b/library/camel-kamelets-catalog/pom.xml index 4e852d0d0..f5f13eefe 100644 --- a/library/camel-kamelets-catalog/pom.xml +++ b/library/camel-kamelets-catalog/pom.xml @@ -24,7 +24,7 @@ org.apache.camel.kamelets camel-kamelets-parent - 0.3.0 + main-SNAPSHOT ../../pom.xml diff --git a/library/camel-kamelets-utils/pom.xml b/library/camel-kamelets-utils/pom.xml index c2abf5b02..e8cc1aff8 100644 --- a/library/camel-kamelets-utils/pom.xml +++ b/library/camel-kamelets-utils/pom.xml @@ -24,7 +24,7 @@ org.apache.camel.kamelets camel-kamelets-parent - 0.3.0 + main-SNAPSHOT ../../pom.xml diff --git a/pom.xml b/pom.xml index d7acf2bba..59aa59077 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ org.apache.camel.kamelets camel-kamelets-parent pom - 0.3.0 + main-SNAPSHOT Camel Kamelets Parent Camel Kamelets Library Parent