Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Updating to version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Delawen committed Jul 21, 2023
1 parent af4fbbd commit 3d115f6
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 31 deletions.
4 changes: 2 additions & 2 deletions api-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<parent>
<groupId>io.kaoto.backend</groupId>
<artifactId>parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
</parent>
<artifactId>api-rest</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
4 changes: 2 additions & 2 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<parent>
<groupId>io.kaoto.backend</groupId>
<artifactId>parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
</parent>
<artifactId>api</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>

<properties>
<kaoto.runtime.type>jvm</kaoto.runtime.type>
Expand Down
4 changes: 2 additions & 2 deletions camel-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<parent>
<groupId>io.kaoto.backend</groupId>
<artifactId>parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
</parent>
<artifactId>camel-support</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
<dependencies>
<dependency>
<groupId>io.kaoto.backend</groupId>
Expand Down
4 changes: 2 additions & 2 deletions catalog/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<parent>
<groupId>io.kaoto.backend</groupId>
<artifactId>parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
</parent>
<artifactId>catalog</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
<dependencies>
<dependency>
<groupId>io.kaoto.backend</groupId>
Expand Down
4 changes: 2 additions & 2 deletions cluster/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<parent>
<groupId>io.kaoto.backend</groupId>
<artifactId>parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
</parent>
<artifactId>cluster</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
<dependencies>
<dependency>
<groupId>io.kaoto.backend</groupId>
Expand Down
4 changes: 2 additions & 2 deletions metadata/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<parent>
<groupId>io.kaoto.backend</groupId>
<artifactId>parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
</parent>
<artifactId>metadata</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
4 changes: 2 additions & 2 deletions model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<parent>
<artifactId>parent</artifactId>
<groupId>io.kaoto.backend</groupId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
</parent>
<artifactId>model</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>io.kaoto.backend</groupId>
<artifactId>parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
<packaging>pom</packaging>
<properties>
<!-- Make sure environment is right -->
Expand Down
4 changes: 2 additions & 2 deletions services-interfaces/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<parent>
<groupId>io.kaoto.backend</groupId>
<artifactId>parent</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
</parent>
<artifactId>services-interfaces</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.1.0</version>
<dependencies>
<dependency>
<groupId>io.kaoto.backend</groupId>
Expand Down
49 changes: 35 additions & 14 deletions update-version.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
#!/bin/bash

git reset --hard
git pull
#git reset --hard
#git pull

echo "Enter version of Kaoto to release:"
echo "Example: 1.0.0"
read -r version

git checkout -b release-$version

echo "Do you want to push the generated branches to your fork? (y/n)"
echo "Note: This will make it easier to create the pull requests later."
read -r gitPush

if [ "$gitPush" = "y" ];
then
echo "Enter the name of the fork (git remote -v can help you here)"
echo "Example: upstream"
read -r gitFork
fi

echo "Do you want to download the latest zips of steps? (y/n)"
echo "Note: This includes Apache Camel components, kamelets, and kaoto bridged camel components."
Expand Down Expand Up @@ -66,34 +83,38 @@ then
git commit -m "chore(resources): Updating zip files with step catalog components."
fi

echo "Enter version of Kaoto to release:"
echo "Example: 1.0.0"
read -r version

mvn versions:set -DnewVersion=$version
git add .
git commit -m "Updating to version $version"
git tag v$version

echo "Now we are going to test the new version."

mvn install
if [ "$gitPush" = "y" ];
then
git push $gitFork
fi

echo "Enter new development version:"
echo "(SNAPSHOT will be added automatically)"
echo "Example: 1.0.1"
read -r version2

git checkout -b release-$version2
mvn versions:set -DnewVersion="$version2"-SNAPSHOT
git add .
git commit -m "chore(release): Updating to version $version2-SNAPSHOT"

if [ "$gitPush" = "y" ];
then
git push $gitFork
fi

echo ""
echo "Check the git log and if you like what you see, create pull requests"
echo "for both branches release-$version and release-$version2."
echo ""
echo "Check the git log and if you like what you see, just do"
echo "'git push' and 'git push --tags'."
echo "This will trigger the release creation."
echo "Once the pull requests are merged, you can tag the version where release-$version is."
echo "Creating the tag will trigger the release creation."
echo ""
echo "Then go to https://github.com/KaotoIO/kaoto-backend/releases/ to review"
echo "Finally, go to https://github.com/KaotoIO/kaoto-backend/releases/ to review"
echo "the text of the release and publish it. "
echo ""
echo "Congratulations! Your job here is done."

0 comments on commit 3d115f6

Please sign in to comment.