You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/instructions/http-client-java.instructions.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,11 @@ Steps:
22
22
23
23
Steps:
24
24
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.
27
30
28
31
The publish workflow (to NPM) will be automatically triggered after the PR is merged: https://dev.azure.com/azure-sdk/internal/_build?definitionId=7294
0 commit comments