WrapGuard v1.4.0 introduces an automated release workflow that streamlines version management, binary packaging, and release notes generation.
Release Automation
Trigger Release Workflow
Added a new Trigger Release workflow that automates the entire release process from a single manual dispatch:
- Automatically determines the next semantic version based on commit types (
feat:for minor, breaking changes for major, all others for patch) - Creates a Git tag and GitHub release
- Builds platform-specific binaries for Linux and macOS on both
amd64andarm64architectures - Generates and publishes polished release notes using AI when
OPENROUTER_API_KEYis configured, with fallback to commit-based notes - Attaches all archives and SHA256 checksums to the release
Release Scripts
Added Node.js scripts to support the automated workflow:
create-release.mjs: Determines the next version, creates the release tag, and initializes the GitHub releasegenerate-release-notes.mjs: Generates release notes from bounded git context, with optional AI enhancementrelease-utils.mjs: Provides semantic versioning logic and conventional commit parsingrelease-config.test.mjs: Validates release configuration and workflow integrity
Build and Packaging Improvements
Cross-Architecture Validation
Enhanced the release workflow to properly validate binaries for their target architecture:
- Skips binary execution tests for non-native architectures (e.g.,
arm64binaries onamd64runners) - Verifies binary architecture using the
filecommand before attempting execution - Maintains full validation on native architecture builds
Version Embedding
Updated the build process to embed the release tag as the version string in compiled binaries, ensuring --version output reflects the actual release tag.
Testing and Documentation
Release Configuration Tests
Added comprehensive tests for release automation that verify:
- Semantic versioning logic and conventional commit parsing
- Workflow structure and asset publishing configuration
- Release notes generation with bounded context
README Updates
Documented the release triggering process and workflow behavior, including version selection rules and optional AI-powered release notes generation.
Release assets
Downloads
Each archive has a matching .sha256 checksum attached to this release.