Skip to content

Commit a6d0b97

Browse files
http-client-java, update instruction on publish package (#9726)
1 parent 334950f commit a6d0b97

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/instructions/http-client-java.instructions.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ Steps:
2222

2323
Steps:
2424

25-
1. Bump the minor or patch version of `@typespec/http-client-java` in the three `package.json` files.
26-
2. Save the files and run `npm install` in the root so that `package-lock.json` is updated.
25+
1. Checkout "main" branch, pull the latest changes.
26+
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.
27+
3. Invoke `pnpm prepare-publish --only @typespec/http-client-java` in repository root. Commit the changes.
28+
4. Invoke `npm install` in the root to update `package-lock.json`. Commit the changes.
29+
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.
2730

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

0 commit comments

Comments
 (0)