|
|
## Before Release
|
|
|
|
|
|
- Review [milestones](https://github.com/openapitools/openapi-generator/milestones) to ensure there are no outstanding issues/PRs that need to be urgently addressed before the release.
|
|
|
- Create the next milestone (e.g. 3.0.3 if the current version if 3.0.2-SNAPSHOT)
|
|
|
- Update **open** PRs, issues of the current milestone (e.g. 3.0.2) to the next milestone (3.0.3)
|
|
|
- File a PR: (e.g. [#280](https://github.com/OpenAPITools/openapi-generator/pull/280))
|
|
|
- to remove the SNAPSHOT version (script `bin/utils/release_version_update.sh` can be used)
|
|
|
- to remove the SNAPSHOT version (script `bin/utils/release_version_update.sh` can be used, e.g. `bin/utils/release_version_upate 3.0.2-SNAPSHOT 3.0.2`)
|
|
|
- to update the OpenAPI Generator Online's Dockerfile to use the stable version
|
|
|
- to disable bin/ensure-up-to-date.sh in shippable for the time being.
|
|
|
|
|
|
## Release
|
|
|
|
|
|
- update core, parser versions (e.g. [#4889](https://github.com/swagger-api/swagger-codegen/pull/4889)), if needed
|
|
|
- push the JAR to maven repository
|
|
|
- push the JAR to maven repository (automatically done by the CI)
|
|
|
|
|
|
## After Release
|
|
|
|
... | ... | @@ -17,7 +19,8 @@ |
|
|
- re-enable bin/ensure-up-to-date and update the Petstore samples accordingly
|
|
|
- update README (e.g. [167b2f5](https://github.com/openapitools/openapi-generator/commit/167b2f59b811ba6780976a6e6764c1edf75a30f7), [1029b69](https://github.com/openapitools/openapi-generator/commit/1029b692e5fcfc2600433a85613ba42e2646826d))
|
|
|
- update OpenAPI Generator Maven Plugin README (modules/openapi-generator-maven-plugin/README.md) (e.g. [9c79297]( https://github.com/openapitools/openapi-generator/commit/9c79297d6a073790a90b6efedd32e8bebd177828))
|
|
|
- update Homebrew formula to use the latest version, e.g. https://github.com/Homebrew/homebrew-core/pull/15675
|
|
|
- update Homebrew formula to use the latest version, e.g. https://github.com/Homebrew/homebrew-core/pull/28921
|
|
|
- ~~update https://generator.swagger.io to run the latest version of OpenAPI Generator~~
|
|
|
- add tag (e.g. 2.3.0) to docker image in Docker Hub
|
|
|
- update [milestones](https://github.com/openapitools/openapi-generator/milestones) |
|
|
\ No newline at end of file |
|
|
- add tag (e.g. 2.3.0) to docker image in Docker Hub (done automatically by CI)
|
|
|
- update [milestones](https://github.com/openapitools/openapi-generator/milestones)
|
|
|
- use Twitter account "oas_generator" to announce the new release |
|
|
\ No newline at end of file |