Skip to content

docs(typespec-java): document patch release process - #4960

Merged
Xiaofei Cao (XiaofeiCao) merged 4 commits into
Azure:mainfrom
XiaofeiCao:docs/typespec-java-release-process
Jul 27, 2026
Merged

Xiaofei Cao (XiaofeiCao) merged 4 commits into
Azure:mainfrom
XiaofeiCao:docs/typespec-java-release-process

Conversation

@XiaofeiCao

Copy link
Copy Markdown
Member

Fills in the previously-TODO Release Process section of packages/typespec-java/CONTRIBUTING.md with the end-to-end patch (hotfix) release flow for @azure-tools/typespec-java:

  1. Create the release branch and bump the version (via the hotfix-release skill; root CONTRIBUTING Publishing linked as general background).
  2. Pin the target core commit via core-commit.json (release branches don't carry submodule updates).
  3. Sync tests from core with SyncTests.ps1 (also aligns emitter-tests/package.json version + tgz).
  4. Open the PR against the release/<sprint> branch.
  5. (Optional) Validate SDK regeneration from the PR emitter via the typespec-java - sync sdk pipeline.
  6. Merge → auto-publish via typespec-azure - Publish.
  7. Backmerge the generated branch to main.
  8. Re-run typespec-java - sync sdk with the released emitter version and merge the SDK PR.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:java Issues for @azure-tools/typespec-java emitter label Jul 20, 2026
@azure-sdk-automation

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@pkg-pr-new

pkg-pr-new Bot commented Jul 20, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@azure-tools/typespec-java@4960

commit: 7f0b2bc

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

You can try these changes here

🛝 Playground 🌐 Website

@XiaofeiCao

Copy link
Copy Markdown
Member Author

Yuchao Yan (@msyyc) FYI, this PR touches java-related files and only java is skipped..

@XiaofeiCao
Xiaofei Cao (XiaofeiCao) added this pull request to the merge queue Jul 27, 2026
Merged via the queue into Azure:main with commit 51207aa Jul 27, 2026
43 checks passed
@XiaofeiCao
Xiaofei Cao (XiaofeiCao) deleted the docs/typespec-java-release-process branch July 27, 2026 03:26
@msyyc

Copy link
Copy Markdown
Member

Yuchao Yan (@msyyc) FYI, this PR touches java-related files and only java is skipped..

Xiaofei Cao (@XiaofeiCao) Let me take a look

@XiaofeiCao

Copy link
Copy Markdown
Member Author

Yuchao Yan (@msyyc) FYI, this PR touches java-related files and only java is skipped..

Xiaofei Cao (@XiaofeiCao) Let me take a look

Thanks. Strangely it's just for this PR. Others are good.
If it's just documents change, maybe it's not worth a e2e test in the first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:java Issues for @azure-tools/typespec-java emitter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants