chore: cerate prepare-release and release workflow for codegen 3.0#12713
chore: cerate prepare-release and release workflow for codegen 3.0#12713ewaostrowska wants to merge 1 commit into3.0.0from
Conversation
There was a problem hiding this comment.
Pull request overview
This PR replaces the old monolithic Swagger Codegen 3.0 release workflow with separate prepare/release automation plus shared Bash helpers for version resolution and release state handling.
Changes:
- Adds reusable release helper scripts under
CI/releasefor version checks, prepare-release edits, and post-release snapshot updates. - Introduces new
prepare-release-3.ymlandrelease-codegen-3.ymlworkflows to split preparation, validation, publishing, Docker, deployment, and follow-up PR creation. - Removes the legacy
release-full-3.ymlworkflow in favor of the new staged flow.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 17 comments.
Show a summary per file
| File | Description |
|---|---|
CI/release/common.sh |
Adds shared shell helpers for version validation, Maven metadata lookup, artifact existence checks, and workflow outputs. |
CI/release/resolve-release-versions.sh |
Resolves codegen/generators versions and deployment decisions for the new release workflow. |
CI/release/prepare-codegen-release.sh |
Prepares release-version changes, release notes, and release-file updates before opening a PR. |
CI/release/post-codegen-snapshot.sh |
Prepares the next snapshot bump after a release. |
.github/workflows/prepare-release-3.yml |
Adds a manual prepare-release workflow that validates/builds and opens a release PR. |
.github/workflows/release-codegen-3.yml |
Adds the main 3.0 release workflow covering validation, optional generators release, codegen release, Docker, deploy, and post-release PRs. |
.github/workflows/release-full-3.yml |
Removes the previous all-in-one 3.0 release workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated 7 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
f82def7 to
caac496
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 7 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
73986b1 to
4701b8b
Compare
This PR improves the Swagger Codegen 3.0 release automation by:
Changes
Workflow updates
Dry-run PR behavior
CI script deduplication
Why