From 60751cf2eb1ec677738f705d19c6e3f90f0a651d Mon Sep 17 00:00:00 2001 From: Hugo Mercado Date: Tue, 15 May 2018 02:38:10 -0500 Subject: [PATCH 1/5] prepare release 3.0.0-rc1 --- README.md | 6 +++--- modules/swagger-codegen/pom.xml | 2 +- pom.xml | 4 ++-- pom.xml.bash | 6 +++--- pom.xml.circleci | 6 +++--- pom.xml.shippable | 6 +++--- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 6cd75afcc76..e9fb3a8a9a1 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ The OpenAPI Specification has undergone 3 revisions since initial creation in 20 Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes -------------------------- | ------------ | -------------------------- | ----- -3.0.0 (upcoming major release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/3.0.0-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0, 3.0 | Major release with breaking changes +3.0.0 (upcoming major release) [rc1](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/3.0.0-rc1/)| TBD | 1.0, 1.1, 1.2, 2.0, 3.0 | Major release with breaking changes 2.4.0 (current master, upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/2.4.0-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0 | Minor release with breaking changes [2.3.0](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.3.0) (**current stable**) | 2017-12-21 | 1.0, 1.1, 1.2, 2.0 | [tag v2.3.0](https://github.com/swagger-api/swagger-codegen/tree/v2.3.0) [2.2.3](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.2.3) | 2017-07-15 | 1.0, 1.1, 1.2, 2.0 | [tag v2.2.3](https://github.com/swagger-api/swagger-codegen/tree/v2.2.3) @@ -85,10 +85,10 @@ Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes ### Prerequisites -Right now there is a release candidate (rc0) version, which you can grab it directly from Maven.org (Java 8 runtime at a minimum): +If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum): ```sh -wget http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/3.0.0-rc0/swagger-codegen-cli-3.0.0-rc0.jar -O swagger-codegen-cli.jar +wget http://central.maven.org/maven2/io/swagger/swagger-codegen-cli/3.0.0-rc1/swagger-codegen-cli-3.0.0-rc1.jar -O swagger-codegen-cli.jar java -jar swagger-codegen-cli.jar --help ``` diff --git a/modules/swagger-codegen/pom.xml b/modules/swagger-codegen/pom.xml index 2856a415454..d349c0b1fd8 100644 --- a/modules/swagger-codegen/pom.xml +++ b/modules/swagger-codegen/pom.xml @@ -3,7 +3,7 @@ io.swagger swagger-codegen-project - 3.0.0-SNAPSHOT + 3.0.0-rc1 ../.. 4.0.0 diff --git a/pom.xml b/pom.xml index 48cdb8c47b6..d9101940e44 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ swagger-codegen-project pom swagger-codegen-project - 3.0.0-SNAPSHOT + 3.0.0-rc1 https://github.com/swagger-api/swagger-codegen scm:git:git@github.com:swagger-api/swagger-codegen.git @@ -934,7 +934,7 @@ 2.0.0 2.11.1 3.3.0 - 2.0.0 + 2.0.1 2.4 1.2 4.8.1 diff --git a/pom.xml.bash b/pom.xml.bash index 249f4d8ef21..9181b51fcf8 100644 --- a/pom.xml.bash +++ b/pom.xml.bash @@ -9,7 +9,7 @@ swagger-codegen-project pom swagger-codegen-project - 3.0.0-SNAPSHOT + 3.0.0-rc1 https://github.com/swagger-api/swagger-codegen scm:git:git@github.com:swagger-api/swagger-codegen.git @@ -909,10 +909,10 @@ - 2.0.0-SNAPSHOT + 2.0.0 2.11.1 3.3.0 - 2.0.0 + 2.0.1 2.4 1.2 4.8.1 diff --git a/pom.xml.circleci b/pom.xml.circleci index 562ec797aad..ba95b196f34 100644 --- a/pom.xml.circleci +++ b/pom.xml.circleci @@ -9,7 +9,7 @@ swagger-codegen-project pom swagger-codegen-project - 3.0.0-SNAPSHOT + 3.0.0-rc1 https://github.com/swagger-api/swagger-codegen scm:git:git@github.com:swagger-api/swagger-codegen.git @@ -941,10 +941,10 @@ - 2.0.0-SNAPSHOT + 2.0.0 2.11.1 3.3.0 - 2.0.0 + 2.0.1 2.4 1.2 4.8.1 diff --git a/pom.xml.shippable b/pom.xml.shippable index 5738c9ec234..54451b5f4cc 100644 --- a/pom.xml.shippable +++ b/pom.xml.shippable @@ -9,7 +9,7 @@ swagger-codegen-project pom swagger-codegen-project - 3.0.0-SNAPSHOT + 3.0.0-rc1 https://github.com/swagger-api/swagger-codegen scm:git:git@github.com:swagger-api/swagger-codegen.git @@ -911,10 +911,10 @@ - 2.0.0-SNAPSHOT + 2.0.0 2.11.1 3.3.0 - 2.0.0 + 2.0.1 2.4 1.2 4.8.1 From ddeabf1e61e8257c8a195981aed22d1e5f6ecfac Mon Sep 17 00:00:00 2001 From: Hugo Mercado Date: Tue, 15 May 2018 02:47:19 -0500 Subject: [PATCH 2/5] update parent version on modules. --- modules/swagger-codegen-cli/pom.xml | 2 +- modules/swagger-codegen-maven-plugin/pom.xml | 2 +- modules/swagger-generator/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/swagger-codegen-cli/pom.xml b/modules/swagger-codegen-cli/pom.xml index 4d35a54df88..efc59656dc4 100644 --- a/modules/swagger-codegen-cli/pom.xml +++ b/modules/swagger-codegen-cli/pom.xml @@ -3,7 +3,7 @@ io.swagger swagger-codegen-project - 3.0.0-SNAPSHOT + 3.0.0-rc1 ../.. 4.0.0 diff --git a/modules/swagger-codegen-maven-plugin/pom.xml b/modules/swagger-codegen-maven-plugin/pom.xml index 37a54360013..bc44504dbd8 100644 --- a/modules/swagger-codegen-maven-plugin/pom.xml +++ b/modules/swagger-codegen-maven-plugin/pom.xml @@ -6,7 +6,7 @@ io.swagger swagger-codegen-project - 3.0.0-SNAPSHOT + 3.0.0-rc1 ../.. swagger-codegen-maven-plugin diff --git a/modules/swagger-generator/pom.xml b/modules/swagger-generator/pom.xml index 2f01a1094c8..3bc53871a7d 100644 --- a/modules/swagger-generator/pom.xml +++ b/modules/swagger-generator/pom.xml @@ -4,7 +4,7 @@ io.swagger swagger-codegen-project - 3.0.0-SNAPSHOT + 3.0.0-rc1 ../.. swagger-generator From f07a81eefc8bdd88bde81def1469d18dd1290681 Mon Sep 17 00:00:00 2001 From: Hugo Mercado Date: Tue, 15 May 2018 04:10:36 -0500 Subject: [PATCH 3/5] switch to snapshot on maven plugin temporarily. --- modules/swagger-codegen-maven-plugin/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/swagger-codegen-maven-plugin/pom.xml b/modules/swagger-codegen-maven-plugin/pom.xml index bc44504dbd8..6aa1fa9abbd 100644 --- a/modules/swagger-codegen-maven-plugin/pom.xml +++ b/modules/swagger-codegen-maven-plugin/pom.xml @@ -49,7 +49,7 @@ io.swagger swagger-codegen - ${project.version} + 3.0.0-SNAPSHOT io.swagger From a29b75ba1ac85773452b69800f2d95cd38304e42 Mon Sep 17 00:00:00 2001 From: Hugo Mercado Date: Tue, 15 May 2018 04:28:18 -0500 Subject: [PATCH 4/5] changed travis branch. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f2348b80d23..645afe00932 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,7 +87,7 @@ script: after_success: # push a snapshot version to maven repo - - if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_BRANCH" = "3.0.0" ]; then + - if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_BRANCH" = "release-rc1" ]; then mvn clean deploy --settings .travis/settings.xml; echo "Finished mvn clean deploy for $TRAVIS_BRANCH"; fi; From 203fc174b7b6fec114801e8b406313b7ba0937bd Mon Sep 17 00:00:00 2001 From: Hugo Mercado Date: Tue, 15 May 2018 04:34:40 -0500 Subject: [PATCH 5/5] Revert "changed travis branch." This reverts commit a29b75ba1ac85773452b69800f2d95cd38304e42. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 645afe00932..f2348b80d23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,7 +87,7 @@ script: after_success: # push a snapshot version to maven repo - - if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_BRANCH" = "release-rc1" ]; then + - if [ $SONATYPE_USERNAME ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_BRANCH" = "3.0.0" ]; then mvn clean deploy --settings .travis/settings.xml; echo "Finished mvn clean deploy for $TRAVIS_BRANCH"; fi;