Release v0.2.2: Improve release artifacts and naming#37
Merged
technicalpickles merged 6 commits intomainfrom Sep 4, 2025
Merged
Release v0.2.2: Improve release artifacts and naming#37technicalpickles merged 6 commits intomainfrom
technicalpickles merged 6 commits intomainfrom
Conversation
- Fix dual Release workflow triggers by depending only on CI workflow - Replace commit-based version checking with tag-based approach - check-version-change.sh now compares Cargo.toml version against existing git tags - Add proper tag fetching in release workflow to ensure current tag info - Add semver validation to prevent releasing invalid versions - Remove brittle Cargo.toml diff checking that failed on merge commits This fixes the issue where releases would fail with 'Cargo.toml was not changed' even when a version bump was needed, and eliminates duplicate Release workflow runs.
Only universal macOS binaries are needed for releases. The release workflow is already correctly configured to build only universal-apple-darwin for macOS, but these old files would have been incorrectly included in releases. Removed: - envsense-v0.1.0-aarch64-apple-darwin* - envsense-v0.1.0-x86_64-apple-darwin* Kept: - envsense-v0.1.0-universal-apple-darwin* (contains both architectures)
Remove 'v' prefix from version numbers in artifact names to align with common conventions used by projects like ripgrep. Changes: - envsense-v0.2.1-universal-apple-darwin → envsense-0.2.1-universal-apple-darwin - envsense-v0.2.1-x86_64-unknown-linux-gnu → envsense-0.2.1-x86_64-unknown-linux-gnu Updated scripts: - scripts/prepare-binary.sh: Updated binary naming logic - scripts/validate-binary.sh: Updated to match new naming - scripts/test-release-scripts-locally.sh: Updated test expectations The new naming convention follows the pattern used by ripgrep and other popular CLI tools for better consistency and user expectations.
Version bump for release with improved artifact naming and universal macOS binary cleanup.
Update versions in workspace crates: - envsense-macros: 0.2.1 → 0.2.2 - envsense-macros-impl: 0.2.1 → 0.2.2 All workspace crates now use consistent version 0.2.2.
Update docs/development.md to reflect: - New artifact naming convention (remove 'v' prefix) - Universal macOS binary approach (single binary instead of separate Intel/ARM64) - Updated platform support (Linux x64 + macOS Universal only) - Rationale for universal binary approach - Updated testing instructions for current build process The documentation now accurately reflects the streamlined release process and follows conventions used by popular CLI tools like ripgrep.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR prepares version 0.2.2 with improvements to release artifact naming and distribution strategy. The changes align the project with common CLI tool conventions by removing the "v" prefix from binary names and simplifying the macOS distribution to use only universal binaries.
- Updated artifact naming from
envsense-v{version}-{target}toenvsense-{version}-{target} - Simplified release logic to check for existing tags instead of comparing commit-to-commit changes
- Bumped all workspace crates to version 0.2.2
Reviewed Changes
Copilot reviewed 9 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/validate-binary.sh | Updated binary naming pattern to remove "v" prefix |
| scripts/test-release-scripts-locally.sh | Updated binary naming pattern for local testing |
| scripts/prepare-binary.sh | Updated binary naming pattern for artifact preparation |
| scripts/check-version-change.sh | Refactored to check for existing git tags instead of commit differences |
| envsense-macros/envsense-macros-impl/Cargo.toml | Version bump to 0.2.2 |
| envsense-macros/Cargo.toml | Version bump to 0.2.2 |
| docs/development.md | Updated documentation with new naming conventions and universal binary approach |
| Cargo.toml | Version bump to 0.2.2 |
| .github/workflows/release.yml | Updated workflow to use tag-based release checking |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR prepares version 0.2.2 with improvements to release artifact naming and macOS binary distribution.
Changes
🔧 Release Process Improvements
dist/📦 Version Bump to 0.2.2
📚 Documentation Updates
Artifacts After This Release
Future releases will include only:
Benefits
Testing
Ready for merge and release!