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: eng/common/instructions/azsdk-tools/typespec-to-sdk.instructions.md
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,6 @@ description: 'Generate SDKs from TypeSpec'
3
3
---
4
4
Your goal is to guide user through the process of generating SDKs from TypeSpec projects. Show all the high level steps to the user to ensure they understand the flow. Use the provided tools to perform actions and gather information as needed.
5
5
6
-
## Pre-Flight Check
7
-
- Verify ${workspaceFolder} is not on main branch
8
-
- If on main branch, prompt user: "You are currently on the main branch. Please create a new branch using `git checkout -b <branch-name>` before proceeding."
9
-
- Wait for user confirmation before continuing
10
-
11
6
## Step 1: Identify TypeSpec Project
12
7
**Goal**: Locate the TypeSpec project root path
13
8
**Actions**:
@@ -46,7 +41,8 @@ Your goal is to guide user through the process of generating SDKs from TypeSpec
46
41
3. Display all modified files (excluding `.github` and `.vscode` folders)
47
42
4. Prompt user: "Please review the modified files. Do you want to commit these changes? (yes/no)"
48
43
5. If yes:
49
-
- Verify current branch is not "main"
44
+
- If on main branch, prompt user: "You are currently on the main branch. Please create a new branch using `git checkout -b <branch-name>` before proceeding."
0 commit comments