Skip to content

Commit 0778a25

Browse files
smw-msazure-sdk
authored andcommitted
Update creation steps
1 parent d45bd20 commit 0778a25

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

eng/common/instructions/azsdk-tools/create-release-plan.instructions.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,16 @@ Follow these steps in order to create or manage a release plan for an API specif
1313
- If no pull request is available, prompt the user to provide the API spec pull request link
1414
- Validate that the provided pull request link is accessible and valid
1515

16-
## Step 2: Gather Release Plan Information
16+
## Step 2: Check for Existing Release Plan
17+
- Ask the user if they already have an existing release plan
18+
- If they confirm:
19+
- Query the existing release plan using either:
20+
- The release plan number, or
21+
- The API spec pull request link
22+
- Display the existing release plan details (Release Plan ID, status, associated languages, SDK PRs).
23+
- If no existing release plan is found, continue to Step 3 to gather required details for creating a new one.
24+
25+
## Step 3: Gather Release Plan Information
1726
Collect the following required information from the user. Do not create a release plan with temporary values. Confirm the values with the user before proceeding to create the release plan.
1827
If any details are missing, prompt the user accordingly:
1928

@@ -25,26 +34,26 @@ If any details are missing, prompt the user accordingly:
2534
- "beta" for preview API versions
2635
- "stable" for GA API versions
2736

28-
## Step 3: Create Release Plan
37+
## Step 4: Create Release Plan
2938
- If the user doesn't know the required details, direct them to create a release plan using the release planner
3039
- Provide this resource: [Release Plan Creation Guide](https://eng.ms/docs/products/azure-developer-experience/plan/release-plan-create)
3140
- Once all information is gathered, use `azsdk_create_release_plan` to create the release plan
3241
- If existing release plans are found, extract and display key information: Release Plan ID, status, associated languages, SDK PRs
3342
- Display the newly created release plan details to the user for confirmation
3443
- Refer to #file:sdk-details-in-release-plan.instructions.md to identify languages configured in the TypeSpec project and add them to the release plan
3544

36-
## Step 4: Update SDK Details in Release Plan
45+
## Step 5: Update SDK Details in Release Plan
3746
- Refer to #file:sdk-details-in-release-plan.instructions.md to add languages and package names to the release plan
3847
- If the TypeSpec project is for a management plane, refer to #file:verify-namespace-approval.instructions.md if this is first release of SDK.
3948

40-
## Step 5: Link SDK Pull Requests (if applicable)
49+
## Step 6: Link SDK Pull Requests (if applicable)
4150
- Ask the user if they have already created SDK pull requests locally for any programming language
4251
- If SDK pull requests exist:
4352
- Collect the pull request links from the user
4453
- Use `azsdk_link_sdk_pull_request_to_release_plan` to link each SDK pull request to the release plan
4554
- Confirm successful linking for each SDK pull request
4655

47-
## Step 6: Summary
56+
## Step 7: Summary
4857
- Display a summary of the completed actions:
4958
- Release plan status (created or existing)
5059
- Linked SDK pull requests (if any)

0 commit comments

Comments
 (0)