Add a dry run of package release cli command#13134
Conversation
tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/Package/SdkReleaseTool.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
This PR replaces the standalone azsdk pkg release-readiness command with a --dry-run option for the azsdk pkg release command, consolidating related functionality into a single command interface.
Key changes:
- Added a
--dry-runboolean option to the release command that performs readiness checks without triggering the release pipeline - Updated the
ReleasePackageAsyncmethod signature to accept an optionaldryRunparameter - Removed
ReleaseReadinessToolfrom theSharedOptionstool registry
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/Package/SdkReleaseTool.cs | Added --dry-run option and corresponding logic to perform readiness checks without triggering the release pipeline |
| tools/azsdk-cli/Azure.Sdk.Tools.Cli/Commands/SharedOptions.cs | Removed ReleaseReadinessTool from the list of registered command tools |
tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/Package/SdkReleaseTool.cs
Outdated
Show resolved
Hide resolved
tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/Package/SdkReleaseTool.cs
Outdated
Show resolved
Hide resolved
tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/Package/SdkReleaseTool.cs
Outdated
Show resolved
Hide resolved
…ol.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ure-sdk-tools into dry-run=package-release
tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/Package/SdkReleaseTool.cs
Outdated
Show resolved
Hide resolved
tools/azsdk-cli/Azure.Sdk.Tools.Cli.Tests/Tools/SdkReleaseToolTests.cs
Outdated
Show resolved
Hide resolved
|
The following pipelines have been queued for testing: |
|
The following pipelines have been queued for testing: |
tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/Package/SdkReleaseTool.cs
Outdated
Show resolved
Hide resolved
tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/Package/SdkReleaseTool.cs
Outdated
Show resolved
Hide resolved
|
The following pipelines have been queued for testing: |
|
The following pipelines have been queued for testing: |
|
The following pipelines have been queued for testing: |
|
The following pipelines have been queued for testing: |
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#13134 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Juan Ospina <70209456+jeo02@users.noreply.github.com>
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#13134 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Juan Ospina <70209456+jeo02@users.noreply.github.com>
* Add a dry run of package release cli command * Update tools/azsdk-cli/Azure.Sdk.Tools.Cli/Tools/Package/SdkReleaseTool.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * test with commented out part for question * update description + nit * Remove ReleaseReadinessTool and move it into SdkReleaseTool * instruction fix * fix tests * shared otpions * check-ready option * rename test * description + instructions * fix --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
azsdk pkg release-readinessand replace it withazsdk pgk release --dry-run.