v2.2.1
🩹[Patch]: Workflow improvements (#60)
This release makes several improvements to the release workflow and supporting scripts, focusing on standardization, clarity, and modernization. The most significant changes include renaming and updating the release workflow, consolidating and improving PowerShell scripts, and cleaning up configuration files related to linters and release notes. Additionally, the scripts now use Write-Host for output and include more structured and readable logging.
Release Workflow Improvements
- Renamed the workflow file from
.github/workflows/Auto-Release.ymlto.github/workflows/Release.yml, updated the workflow name and job names, and switched from theAuto-Releaseaction to the newerRelease-GHRepositoryaction for publishing releases. Also, restricted the workflow to trigger only on changes toaction.ymlandsrc/**.
PowerShell Script Modernization and Consolidation
- Moved PowerShell scripts from the
scripts/directory tosrc/, updated references inaction.yml, and improved script output by replacingWrite-OutputwithWrite-Hostfor better compatibility with GitHub Actions. Added more structured and visually separated log output usingWrite-Host '-------------------------------------------------'.
Configuration and Linting Cleanup
- Removed the
.github/linters/.jscpd.jsonconfiguration file and disabled JSCPD validation in the linter workflow. - Added an exclusion for the
PSAvoidUsingWriteHostrule in.github/linters/.powershell-psscriptanalyzer.psd1to allow usingWrite-Hostin scripts running on GitHub Actions.
Release Notes and Input Documentation
- Removed the custom changelog configuration from
.github/release.ymlto rely on default GitHub release note generation. - Fixed a typo in the
IncrementalPrereleaseinput description inaction.yml.