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
Update scripts to use the new Quality mappings to urls (dotnet#10479)
## Key Changes
### 1. **Quality Level Behavior**
- **`dev`**: Downloads latest development builds from the `main` branch
- **`staging`**: Downloads release candidate builds (rc/daily)
- **`ga`**: Downloads generally available release builds (ga/daily)
- **Default**: `staging` quality is used when no quality is specified
### 2. **Updated URL Mappings for Quality Levels**
- **PowerShell Script (`get-aspire-cli.ps1`)**:
- `dev` quality now maps to: `https://aka.ms/dotnet/9/aspire/daily`
- `staging` quality now maps to: `https://aka.ms/dotnet/9/aspire/rc/daily`
- `ga` quality now maps to: `https://aka.ms/dotnet/9/aspire/ga/daily`
- **Bash Script (`get-aspire-cli.sh`)**:
- Updated with corresponding URL mappings to match PowerShell script
- Consistent quality-to-URL mapping across both script implementations
### 3. **Support for -WhatIf and --dry-run**
- This will be useful for testing
### 4. **Code Quality Improvements**
The code has been made more idiomatic in many ways:
- Better PowerShell coding practices and conventions
- Improved error handling patterns
- Enhanced cross-platform compatibility
- More robust parameter validation
- Cleaner function organization and separation of concerns
Co-authored-by: Copilot <[email protected]>
(cherry picked from commit a5d2813)
0 commit comments