Skip to content

Commit

Permalink
update release info
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaferraro committed May 26, 2021
1 parent bd6571b commit 3113ae1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
26 changes: 17 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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
```
2 changes: 1 addition & 1 deletion library/camel-kamelets-catalog/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-parent</artifactId>
<version>0.3.0</version>
<version>main-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion library/camel-kamelets-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-parent</artifactId>
<version>0.3.0</version>
<version>main-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-parent</artifactId>
<packaging>pom</packaging>
<version>0.3.0</version>
<version>main-SNAPSHOT</version>
<name>Camel Kamelets Parent</name>
<description>Camel Kamelets Library Parent</description>

Expand Down

0 comments on commit 3113ae1

Please sign in to comment.