What's New in v2: Enhanced AUR Integration with Git Support
This major update transforms the Rust AUR Release Deploy action with powerful git package support and flexible build options. Version 2.3.0 introduces intelligent commit hash extraction, platform-specific build targeting, and robust error handling, making your Rust package deployments to AUR smoother than ever!
✨ Added
- 🔥 Support for specific git commits in -git packages using commit hash extraction
- 🖥️ Platform parameter to control build targets (linux, windows, or both)
- 📝 Auto-release and release notes generation controls
- 🧪 Test job integration in git workflow example
- 📚 Enhanced documentation for git packages
- 🧩
git_deploy/is_git_packageinput parameter to handle -git deployments - 📋 Automatic release notes generation using GitHub's built-in generator
- 🚫 Support for skipping release creation for -git deployments
- 📦 Improved PKGBUILD generation for -git packages
🔄 Changed
- 📛 Renamed parameters for better clarity:
pkg_name→package_namebuild_linuxandbuild_windows→platformgit_deploy→is_git_package
- 🔄 Updated workflow examples to use release events
- 📦 Improved PKGBUILD handling for git packages
- 📊 Enhanced version extraction from Cargo.toml
- 🔢 Made release number optional in workflow_dispatch
- 🔍 Simplified platform selection with single parameter
- ⚙️ Improved boolean handling in workflow conditions
🛠️ Fixed
- 🐛 Fixed -git package installation by removing invalid tag references
- 🔢 Improved version handling for git packages to properly use commit hashes
- 🧮 Fixed conditional logic for platform-specific builds
- 🚨 Improved build failure handling to exit early when required binaries cannot be built
- 🏷️ Fixed release tag comparison logic to ensure proper version control
- 📊 Git package version handling with proper metadata
- 🔀 Conditional build steps based on package type
- 📦 Release asset handling for existing releases
- 🔗 PKGBUILD source URL formatting
- 📚 Documentation consistency across examples
Full Changelog: v1...v2