mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-11 15:46:53 +00:00
feat: enhance build and release workflow with multi-platform support (#112)
* feat: enhance build and release workflow with multi-platform support - Add Windows support (x86_64 and ARM64) to build matrix - Add macOS Intel x86_64 support alongside Apple Silicon - Improve cross-platform builds with proper toolchain selection - Use GitHub CLI (gh) for release management instead of GitHub Actions - Add automatic checksum generation (SHA256/SHA512) for all binaries - Support different archive formats per platform (zip for Windows, tar.gz for Unix) - Add comprehensive release notes with installation guides - Enhanced error handling for console assets download - Platform-specific build information in packages - Support both binary and GUI application releases - Update OSS upload to handle multiple file formats This brings RustFS builds up to enterprise-grade standards with: - 6 binary targets (Linux x86_64/ARM64, macOS x86_64/ARM64, Windows x86_64/ARM64) - Professional release management with checksums - User-friendly installation instructions - Multi-platform GUI applications * feat: add core development principles to cursor rules - Add precision-first development principle: 每次改动都要精准,没把握就别改 - Add GitHub CLI priority rule: GitHub PR 创建优先使用 gh 命令 - Emphasize careful analysis before making changes - Promote use of gh commands for better automation and integration * refactor: translate cursor rules to English - Translate core development principles from Chinese to English - Maintain consistency with project's English-first policy - Update 'Every change must be precise' principle - Update 'GitHub PR creation prioritizes gh command usage' rule - Ensure all cursor rules are in English for better accessibility
This commit is contained in:
@@ -847,6 +847,22 @@ These rules should serve as guiding principles when developing the RustFS projec
|
||||
|
||||
#### Development Workflow
|
||||
|
||||
## 🎯 **Core Development Principles**
|
||||
|
||||
- **🔴 Every change must be precise - don't modify unless you're confident**
|
||||
- Carefully analyze code logic and ensure complete understanding before making changes
|
||||
- When uncertain, prefer asking users or consulting documentation over blind modifications
|
||||
- Use small iterative steps, modify only necessary parts at a time
|
||||
- Evaluate impact scope before changes to ensure no new issues are introduced
|
||||
|
||||
- **🚀 GitHub PR creation prioritizes gh command usage**
|
||||
- Prefer using `gh pr create` command to create Pull Requests
|
||||
- Avoid having users manually create PRs through web interface
|
||||
- Provide clear and professional PR titles and descriptions
|
||||
- Using `gh` commands ensures better integration and automation
|
||||
|
||||
## 📝 **Code Quality Requirements**
|
||||
|
||||
- Use English for all code comments, documentation, and variable names
|
||||
- Write meaningful and descriptive names for variables, functions, and methods
|
||||
- Avoid meaningless test content like "debug 111" or placeholder values
|
||||
|
||||
Reference in New Issue
Block a user