Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/instructions/http-client-java.instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ Steps:

Steps:

1. Bump the minor or patch version of `@typespec/http-client-java` in the three `package.json` files.
2. Save the files and run `npm install` in the root so that `package-lock.json` is updated.
1. Checkout "main" branch, pull the latest changes.
2. Create a new branch. The name must follow the pattern "publish/http-client-java-<version>". Remind user that this branch must be pushed to remote upstream.
3. Invoke `pnpm prepare-publish --only @typespec/http-client-java` in repository root. Commit the changes.
4. Invoke `npm install` in the root to update `package-lock.json`. Commit the changes.
5. Update the two `package.json` files in `generator/http-client-generator-clientcore-test` and `generator/http-client-generator-test` to match the new version in the root `package.json`. Commit the changes.

The publish workflow (to NPM) will be automatically triggered after the PR is merged: https://dev.azure.com/azure-sdk/internal/_build?definitionId=7294

Expand Down
Loading