Refactor release workflow for manual triggering with comprehensive logging and strict semantic versioning#286
Conversation
…nd v2.0.0-alpha.2 versioning Co-authored-by: nielsdrost7 <47660417+nielsdrost7@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR refactors the GitHub Actions release workflow from automatic push-based triggering to manual workflow dispatch with comprehensive logging, error handling, and semantic versioning. The changes enable controlled releases with full observability through structured logs, checksums, and GitHub Actions summaries, while creating draft pre-releases for manual review before publishing.
Key Changes:
- Manual workflow triggering via
workflow_dispatchwith release type selection (alpha/beta/stable) instead of automatic master branch pushes - Comprehensive logging infrastructure with dedicated log files in
workflow_logs/directory usingteefor dual console/file output - Semantic versioning with alpha/beta increment logic (e.g.,
v2.0.0-alpha.1→v2.0.0-alpha.2) using regex-based version parsing - Enhanced error handling with
set -eandset -o pipefailacross all bash steps - Version-based artifact naming (
ip-v2.0.0-alpha.2.zip) instead of timestamp-based naming - Draft pre-releases instead of immediate publishing for manual review
|
@copilot apply changes based on the comments in this thread |
…, and fetch depth Co-authored-by: nielsdrost7 <47660417+nielsdrost7@users.noreply.github.com>
Applied all code review feedback from the thread:
Commit: 21a1c52 |
…eta→stable Co-authored-by: nielsdrost7 <47660417+nielsdrost7@users.noreply.github.com>
All code review feedback has been applied across commits 21a1c52 and 942fa38. The workflow now includes:
Commit: 942fa38 |
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Comment |
Release Workflow Improvements
workflow_dispatchset -eandset -o pipefailv2.0.0-alpha.2ip-v2.0.0-alpha.2.zipset +ein Crowdin logging stepv2.0.0-alpha.1tov0.0.0Semantic Versioning Rules
The workflow enforces strict version progression:
Any attempt to skip stages or downgrade will result in a clear error message indicating the correct release type to use.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.