Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 🐛 gPT-4: Refactor and enhance GitHub release deletion script for…
… robustness and maintainability - Updated syntax to modern PowerShell conventions for better readability. - Parameterized release limit for flexibility and configurability. - Improved error handling by capturing command output and logging errors. - Added logging statements to track deletion attempts and successes. - Ensured `$current_release` validation before proceeding with deletions. - Used 'continue' in error blocks to prevent script interruption on individual failures. These modifications significantly improve the script's resilience, auditability, and ease of maintenance.
- Loading branch information