|
11 | 11 |
|
12 | 12 | env: |
13 | 13 | APP_NAME: filefind |
| 14 | + # Note: github.ref_name will include the 'v' for tags, e.g., 'v1.1.3' |
| 15 | + # The version step below will handle removing it for the package version number. |
14 | 16 | VERSION: ${{ github.ref_name }} |
15 | 17 |
|
16 | 18 | permissions: |
@@ -369,45 +371,61 @@ jobs: |
369 | 371 | files: release-assets/* |
370 | 372 | draft: false |
371 | 373 | prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc') }} |
372 | | - generate_release_notes: true |
| 374 | + # generate_release_notes: true # We are providing a custom body |
373 | 375 | body: | |
374 | 376 | ## FileFind ${{ needs.build-linux.outputs.version }} |
375 | 377 |
|
376 | 378 | Advanced file search utility with comprehensive search options and cross-platform compatibility. |
377 | 379 |
|
378 | | - ### Downloads |
| 380 | + ### Downloads 📦 |
379 | 381 |
|
380 | | - **Linux:** |
381 | | - - 📦 `filefind_*_amd64.deb` - Debian/Ubuntu package |
382 | | - - 📁 `filefind-linux-portable-*.tar.gz` - Portable archive |
| 382 | + - **Linux Debian/Ubuntu Package:** `filefind_${{ needs.build-linux.outputs.version }}_amd64.deb` |
| 383 | + - **Linux Portable Archive:** `filefind-linux-portable-${{ needs.build-linux.outputs.version }}.tar.gz` |
| 384 | + - **Windows Installer:** `FileFind-Setup-${{ needs.build-linux.outputs.version }}.exe` |
| 385 | + - **Windows Portable Archive:** `filefind-windows-portable-${{ needs.build-linux.outputs.version }}.zip` |
383 | 386 |
|
384 | | - **Windows:** |
385 | | - - 🔧 `FileFind-Setup-*.exe` - Windows installer |
386 | | - - 📁 `filefind-windows-portable-*.zip` - Portable archive |
| 387 | + --- |
387 | 388 |
|
388 | | - ### Installation |
| 389 | + ### Installation 🚀 |
389 | 390 |
|
390 | | - **Linux (DEB):** |
| 391 | + #### Linux (DEB) |
| 392 | + **1. Download the package:** |
391 | 393 | ```bash |
392 | | - sudo dpkg -i filefind_*_amd64.deb |
393 | | - sudo apt-get install -f # Fix dependencies if needed |
| 394 | + curl -LO [https://github.com/$](https://github.com/$){{ github.repository }}/releases/download/${{ github.ref_name }}/filefind_${{ needs.build-linux.outputs.version }}_amd64.deb |
394 | 395 | ``` |
395 | 396 |
|
396 | | - **Linux (Portable):** |
| 397 | + **2. Install the package (choose one method):** |
| 398 | + *Method A: Recommended (handles dependencies)* |
| 399 | + ```bash |
| 400 | + sudo apt install ./filefind_${{ needs.build-linux.outputs.version }}_amd64.deb |
| 401 | + ``` |
| 402 | + *Method B: Using dpkg* |
| 403 | + ```bash |
| 404 | + sudo dpkg -i filefind_${{ needs.build-linux.outputs.version }}_amd64.deb |
| 405 | + # If you have dependency errors, run this: |
| 406 | + sudo apt-get install -f |
| 407 | + ``` |
| 408 | +
|
| 409 | + #### Linux (Portable) |
| 410 | + **1. Download and extract:** |
| 411 | + ```bash |
| 412 | + curl -LO [https://github.com/$](https://github.com/$){{ github.repository }}/releases/download/${{ github.ref_name }}/filefind-linux-portable-${{ needs.build-linux.outputs.version }}.tar.gz |
| 413 | + tar -xzf filefind-linux-portable-${{ needs.build-linux.outputs.version }}.tar.gz |
| 414 | + ``` |
| 415 | + **2. Run the application:** |
397 | 416 | ```bash |
398 | | - tar -xzf filefind-linux-portable-*.tar.gz |
399 | 417 | cd filefind-linux-portable |
400 | 418 | ./run.sh |
401 | 419 | ``` |
402 | 420 |
|
403 | | - **Windows:** |
404 | | - - Run the installer or extract the portable archive |
| 421 | + #### Windows |
| 422 | + - **Installer:** Download and run `FileFind-Setup-${{ needs.build-linux.outputs.version }}.exe`. |
| 423 | + - **Portable:** Download and extract `filefind-windows-portable-${{ needs.build-linux.outputs.version }}.zip`. |
405 | 424 |
|
406 | | - ### Verification |
| 425 | + --- |
407 | 426 |
|
| 427 | + ### Verification ✅ |
408 | 428 | All files are signed with SHA256 checksums available in `checksums.txt`. |
409 | | -
|
410 | | - For more information, see the [Installation Guide](docs/INSTALL.md). |
411 | 429 | env: |
412 | 430 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
413 | 431 |
|
|
0 commit comments