Skip to content

Commit cfb3511

Browse files
ismoilovdevmlclaude
andcommitted
πŸš€ Pre-built Binary Support - Fast Installation
Major improvements for production deployments: **GitHub Actions:** - βœ… Automated binary builds on tag/release - βœ… Multi-platform support (Linux x86_64/aarch64, macOS x86_64/aarch64) - βœ… Direct binary uploads (no tar.gz) - βœ… Stripped binaries for smaller size **Installer Improvements:** - βœ… Downloads pre-built binaries from GitHub Releases - βœ… Falls back to source build if binary unavailable - βœ… Installs in seconds instead of 10+ minutes - βœ… Better logging and error messages **Repository Cleanup:** - βœ… Improved .gitignore (build artifacts, IDE files, logs) - βœ… Removed unnecessary documentation files - βœ… Server configs excluded from git **Installation:** ```bash curl -sSL https://raw.githubusercontent.com/ismoilovdevml/RustStrom/main/install.sh | bash ``` Next: Create v1.0.1 release tag to trigger binary builds πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 45d9962 commit cfb3511

File tree

12 files changed

+44
-1815
lines changed

12 files changed

+44
-1815
lines changed

β€Ž.github/workflows/release.ymlβ€Ž

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,19 @@ jobs:
7575
if: matrix.os == 'macos-latest'
7676
run: strip target/${{ matrix.target }}/release/rust-strom
7777

78-
- name: Create tarball
78+
- name: Rename binary
7979
run: |
80-
cd target/${{ matrix.target }}/release
81-
tar czf ${{ matrix.name }}.tar.gz rust-strom
82-
mv ${{ matrix.name }}.tar.gz ${{ github.workspace }}/
80+
cp target/${{ matrix.target }}/release/rust-strom ${{ matrix.name }}
8381
8482
- name: Upload Release Asset
8583
uses: actions/upload-release-asset@v1
8684
env:
8785
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8886
with:
8987
upload_url: ${{ needs.create-release.outputs.upload_url }}
90-
asset_path: ./${{ matrix.name }}.tar.gz
91-
asset_name: ${{ matrix.name }}.tar.gz
92-
asset_content_type: application/gzip
88+
asset_path: ./${{ matrix.name }}
89+
asset_name: ${{ matrix.name }}
90+
asset_content_type: application/octet-stream
9391

9492
# Publish to crates.io (optional)
9593
publish-crate:

β€Ž.gitignoreβ€Ž

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,26 @@
1-
/target
1+
# Build artifacts
2+
/target
3+
*.o
4+
*.so
5+
*.dylib
6+
7+
# Server-specific configs
8+
server-config.toml
9+
*-config.toml
10+
11+
# Logs
12+
*.log
13+
14+
# OS files
15+
.DS_Store
16+
Thumbs.db
17+
18+
# IDE
19+
.idea/
20+
.vscode/
21+
*.swp
22+
*.swo
23+
24+
# Temporary files
25+
*.tmp
26+
/tmp/

0 commit comments

Comments
Β (0)