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

Commit 3d115f6

Browse files
committed
Updating to version 1.1.0
1 parent af4fbbd commit 3d115f6

File tree

10 files changed

+52
-31
lines changed

10 files changed

+52
-31
lines changed

api-rest/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<parent>
66
<groupId>io.kaoto.backend</groupId>
77
<artifactId>parent</artifactId>
8-
<version>1.2.0-SNAPSHOT</version>
8+
<version>1.1.0</version>
99
</parent>
1010
<artifactId>api-rest</artifactId>
11-
<version>1.2.0-SNAPSHOT</version>
11+
<version>1.1.0</version>
1212
<dependencies>
1313
<dependency>
1414
<groupId>io.quarkus</groupId>

api/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
<parent>
88
<groupId>io.kaoto.backend</groupId>
99
<artifactId>parent</artifactId>
10-
<version>1.2.0-SNAPSHOT</version>
10+
<version>1.1.0</version>
1111
</parent>
1212
<artifactId>api</artifactId>
13-
<version>1.2.0-SNAPSHOT</version>
13+
<version>1.1.0</version>
1414

1515
<properties>
1616
<kaoto.runtime.type>jvm</kaoto.runtime.type>

camel-support/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<parent>
77
<groupId>io.kaoto.backend</groupId>
88
<artifactId>parent</artifactId>
9-
<version>1.2.0-SNAPSHOT</version>
9+
<version>1.1.0</version>
1010
</parent>
1111
<artifactId>camel-support</artifactId>
12-
<version>1.2.0-SNAPSHOT</version>
12+
<version>1.1.0</version>
1313
<dependencies>
1414
<dependency>
1515
<groupId>io.kaoto.backend</groupId>

catalog/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<parent>
77
<groupId>io.kaoto.backend</groupId>
88
<artifactId>parent</artifactId>
9-
<version>1.2.0-SNAPSHOT</version>
9+
<version>1.1.0</version>
1010
</parent>
1111
<artifactId>catalog</artifactId>
12-
<version>1.2.0-SNAPSHOT</version>
12+
<version>1.1.0</version>
1313
<dependencies>
1414
<dependency>
1515
<groupId>io.kaoto.backend</groupId>

cluster/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<parent>
77
<groupId>io.kaoto.backend</groupId>
88
<artifactId>parent</artifactId>
9-
<version>1.2.0-SNAPSHOT</version>
9+
<version>1.1.0</version>
1010
</parent>
1111
<artifactId>cluster</artifactId>
12-
<version>1.2.0-SNAPSHOT</version>
12+
<version>1.1.0</version>
1313
<dependencies>
1414
<dependency>
1515
<groupId>io.kaoto.backend</groupId>

metadata/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<parent>
77
<groupId>io.kaoto.backend</groupId>
88
<artifactId>parent</artifactId>
9-
<version>1.2.0-SNAPSHOT</version>
9+
<version>1.1.0</version>
1010
</parent>
1111
<artifactId>metadata</artifactId>
12-
<version>1.2.0-SNAPSHOT</version>
12+
<version>1.1.0</version>
1313
<dependencies>
1414
<dependency>
1515
<groupId>io.quarkus</groupId>

model/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<parent>
77
<artifactId>parent</artifactId>
88
<groupId>io.kaoto.backend</groupId>
9-
<version>1.2.0-SNAPSHOT</version>
9+
<version>1.1.0</version>
1010
</parent>
1111
<artifactId>model</artifactId>
12-
<version>1.2.0-SNAPSHOT</version>
12+
<version>1.1.0</version>
1313
<dependencies>
1414
<dependency>
1515
<groupId>io.quarkus</groupId>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>io.kaoto.backend</groupId>
88
<artifactId>parent</artifactId>
9-
<version>1.2.0-SNAPSHOT</version>
9+
<version>1.1.0</version>
1010
<packaging>pom</packaging>
1111
<properties>
1212
<!-- Make sure environment is right -->

services-interfaces/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
<parent>
77
<groupId>io.kaoto.backend</groupId>
88
<artifactId>parent</artifactId>
9-
<version>1.2.0-SNAPSHOT</version>
9+
<version>1.1.0</version>
1010
</parent>
1111
<artifactId>services-interfaces</artifactId>
12-
<version>1.2.0-SNAPSHOT</version>
12+
<version>1.1.0</version>
1313
<dependencies>
1414
<dependency>
1515
<groupId>io.kaoto.backend</groupId>

update-version.sh

Lines changed: 35 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
#!/bin/bash
22

3-
git reset --hard
4-
git pull
3+
#git reset --hard
4+
#git pull
5+
6+
echo "Enter version of Kaoto to release:"
7+
echo "Example: 1.0.0"
8+
read -r version
9+
10+
git checkout -b release-$version
11+
12+
echo "Do you want to push the generated branches to your fork? (y/n)"
13+
echo "Note: This will make it easier to create the pull requests later."
14+
read -r gitPush
15+
16+
if [ "$gitPush" = "y" ];
17+
then
18+
echo "Enter the name of the fork (git remote -v can help you here)"
19+
echo "Example: upstream"
20+
read -r gitFork
21+
fi
522

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

69-
echo "Enter version of Kaoto to release:"
70-
echo "Example: 1.0.0"
71-
read -r version
72-
7386
mvn versions:set -DnewVersion=$version
7487
git add .
7588
git commit -m "Updating to version $version"
76-
git tag v$version
7789

78-
echo "Now we are going to test the new version."
79-
80-
mvn install
90+
if [ "$gitPush" = "y" ];
91+
then
92+
git push $gitFork
93+
fi
8194

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

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

105+
if [ "$gitPush" = "y" ];
106+
then
107+
git push $gitFork
108+
fi
109+
110+
echo ""
111+
echo "Check the git log and if you like what you see, create pull requests"
112+
echo "for both branches release-$version and release-$version2."
91113
echo ""
92-
echo "Check the git log and if you like what you see, just do"
93-
echo "'git push' and 'git push --tags'."
94-
echo "This will trigger the release creation."
114+
echo "Once the pull requests are merged, you can tag the version where release-$version is."
115+
echo "Creating the tag will trigger the release creation."
95116
echo ""
96-
echo "Then go to https://github.com/KaotoIO/kaoto-backend/releases/ to review"
117+
echo "Finally, go to https://github.com/KaotoIO/kaoto-backend/releases/ to review"
97118
echo "the text of the release and publish it. "
98119
echo ""
99120
echo "Congratulations! Your job here is done."

0 commit comments

Comments
 (0)