Skip to content

Commit a553408

Browse files
committed
Fix release version bump script (gradle plugin, sample poms)
1 parent 1c95da6 commit a553408

6 files changed

Lines changed: 9 additions & 5 deletions

File tree

bin/utils/release_version_update.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ fi
3333

3434
echo "Release preparation: replacing $FROM with $TO in different files"
3535

36+
# This script assumes the files defined here have a version surrounded by angle brackets within an xml node.
37+
# For example, >4.0.0< becomes >4.0.1-SNAPSHOT<.
38+
# Verify the sed command below against a file before adding here.
3639
declare -a files=("modules/openapi-generator-cli/pom.xml"
37-
"modules/openapi-generator-gradle-plugin/gradle.properties"
3840
"modules/openapi-generator-gradle-plugin/pom.xml"
3941
"modules/openapi-generator-core/pom.xml"
4042
"modules/openapi-generator-maven-plugin/pom.xml"

bin/utils/release_version_update_docs.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ fi
3434
echo "Release preparation: replacing $FROM with $TO in different files"
3535

3636
declare -a files=("modules/openapi-generator-maven-plugin/README.md"
37+
"modules/openapi-generator-maven-plugin/examples/multi-module/java-client/pom.xml"
3738
"modules/openapi-generator-maven-plugin/examples/java-client.xml"
3839
"modules/openapi-generator-maven-plugin/examples/non-java-invalid-spec.xml"
3940
"modules/openapi-generator-maven-plugin/examples/non-java.xml"
4041
"modules/openapi-generator-gradle-plugin/README.adoc"
42+
"modules/openapi-generator-gradle-plugin/gradle.properties"
4143
"modules/openapi-generator-gradle-plugin/samples/local-spec/gradle.properties"
4244
"modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle"
4345
"modules/openapi-generator-gradle-plugin/samples/local-spec/README.md"

modules/openapi-generator-maven-plugin/examples/java-client.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<plugin>
1313
<groupId>org.openapitools</groupId>
1414
<artifactId>openapi-generator-maven-plugin</artifactId>
15-
<version>4.0.1</version>
15+
<version>4.0.2-SNAPSHOT</version>
1616
<executions>
1717
<execution>
1818
<goals>

modules/openapi-generator-maven-plugin/examples/multi-module/java-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<plugin>
1919
<groupId>org.openapitools</groupId>
2020
<artifactId>openapi-generator-maven-plugin</artifactId>
21-
<version>4.0.0</version>
21+
<version>4.0.2-SNAPSHOT</version>
2222
<dependencies>
2323
<dependency>
2424
<groupId>${project.groupId}</groupId>

modules/openapi-generator-maven-plugin/examples/non-java-invalid-spec.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<plugin>
1313
<groupId>org.openapitools</groupId>
1414
<artifactId>openapi-generator-maven-plugin</artifactId>
15-
<version>4.0.1</version>
15+
<version>4.0.2-SNAPSHOT</version>
1616
<executions>
1717
<execution>
1818
<goals>

modules/openapi-generator-maven-plugin/examples/non-java.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<plugin>
1313
<groupId>org.openapitools</groupId>
1414
<artifactId>openapi-generator-maven-plugin</artifactId>
15-
<version>4.0.1</version>
15+
<version>4.0.2-SNAPSHOT</version>
1616
<executions>
1717
<execution>
1818
<goals>

0 commit comments

Comments
 (0)