From 0c7e90078a0ebb42a03d8938274b24916dfdeeb4 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Thu, 5 Mar 2026 15:09:20 +0800 Subject: [PATCH] eng, http-client-java, update instruction --- .github/instructions/http-client-java.instructions.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/instructions/http-client-java.instructions.md b/.github/instructions/http-client-java.instructions.md index cca60557489..357c105437a 100644 --- a/.github/instructions/http-client-java.instructions.md +++ b/.github/instructions/http-client-java.instructions.md @@ -16,7 +16,7 @@ Steps: 5. Commit the changes to `package.json` and `package-lock.json`. 6. If there is an update to the `http-specs` or `azure-http-specs` libraries, run `Generate.ps1` in `generator/http-client-generator-test` and commit the generated changes in that folder. 7. If there is an update to the `http-specs` library, run `Generate.ps1` in `generator/http-client-generator-clientcore-test` and commit the generated changes in that folder. -8. Call `pnpm change add @typespec/http-client-java`, select "Bump dependencies" in terminal, then input a summary in terminal. Commit the new md file in ".chronus" folder of repository root. +8. Call `pnpm change add @typespec/http-client-java --kind=dependencies --message=""`. Commit the new md file in ".chronus" folder of repository root. # Prepare for minor/patch release @@ -46,4 +46,8 @@ Typical task: `add e2e test case for , scenario is `. 9. Start Spector server by `npm run spector-start`. 10. Run the tests (`mvn test`). Make sure all tests pass. 11. Stop Spector server by `npm run spector-stop`. -12. Call `pnpm change add @typespec/http-client-java`, select "Internal" in terminal, then input a summary in terminal. Commit the new md file in ".chronus" folder of repository root. +12. Call `pnpm change add @typespec/http-client-java --kind=internal --message=""`. Commit the new md file in ".chronus" folder of repository root. + +# Add feature or fix bug + +- Run `npm run format` and commit the formatted code, before finalizing. Do not include any other changes in the commit.