Skip to content

Commit a474067

Browse files
committed
fix: correct release page formatting and download links
1 parent 2ef3038 commit a474067

1 file changed

Lines changed: 15 additions & 34 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 15 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -337,41 +337,13 @@ jobs:
337337
src/filefind.exe
338338
retention-days: 30
339339

340-
create-release:
341-
runs-on: ubuntu-latest
342-
needs: [build-linux, build-windows]
343-
if: github.event_name == 'release' || startsWith(github.ref, 'refs/tags/')
344-
345-
steps:
346-
- name: Checkout code
347-
uses: actions/checkout@v4
348-
349-
- name: Download all artifacts
350-
uses: actions/download-artifact@v4
351-
352-
- name: Prepare release assets
353-
run: |
354-
mkdir -p release-assets
355-
356-
# Copy Linux builds
357-
cp linux-builds/*.deb release-assets/
358-
cp linux-builds/*.tar.gz release-assets/
359-
360-
# Copy Windows builds
361-
cp windows-builds/*.exe release-assets/
362-
cp windows-builds/*.zip release-assets/
363-
364-
# Create checksums
365-
cd release-assets
366-
sha256sum * > checksums.txt
367-
368-
- name: Create Release
340+
- name: Create Release
369341
uses: softprops/action-gh-release@v1
370342
with:
371343
files: release-assets/*
372344
draft: false
373345
prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') || contains(github.ref, 'rc') }}
374-
# generate_release_notes: true # We are providing a custom body
346+
generate_release_notes: true
375347
body: |
376348
## FileFind ${{ needs.build-linux.outputs.version }}
377349
@@ -391,14 +363,16 @@ jobs:
391363
#### Linux (DEB)
392364
**1. Download the package:**
393365
```bash
394-
curl -LO [https://github.com/$](https://github.com/$){{ github.repository }}/releases/download/${{ github.ref_name }}/filefind_${{ needs.build-linux.outputs.version }}_amd64.deb
366+
curl -LO https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/filefind_${{ needs.build-linux.outputs.version }}_amd64.deb
395367
```
396368
397369
**2. Install the package (choose one method):**
370+
398371
*Method A: Recommended (handles dependencies)*
399372
```bash
400373
sudo apt install ./filefind_${{ needs.build-linux.outputs.version }}_amd64.deb
401374
```
375+
402376
*Method B: Using dpkg*
403377
```bash
404378
sudo dpkg -i filefind_${{ needs.build-linux.outputs.version }}_amd64.deb
@@ -409,23 +383,30 @@ jobs:
409383
#### Linux (Portable)
410384
**1. Download and extract:**
411385
```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
386+
curl -LO https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/filefind-linux-portable-${{ needs.build-linux.outputs.version }}.tar.gz
413387
tar -xzf filefind-linux-portable-${{ needs.build-linux.outputs.version }}.tar.gz
414388
```
389+
415390
**2. Run the application:**
416391
```bash
417392
cd filefind-linux-portable
418393
./run.sh
419394
```
420395
421396
#### 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`.
397+
- **Installer:** Download and run `FileFind-Setup-${{ needs.build-linux.outputs.version }}.exe`
398+
- **Portable:** Download and extract `filefind-windows-portable-${{ needs.build-linux.outputs.version }}.zip`
424399
425400
---
426401
427402
### Verification ✅
428403
All files are signed with SHA256 checksums available in `checksums.txt`.
404+
405+
### What's New
406+
- Automated CI/CD pipeline for cross-platform builds
407+
- Professional packaging for Linux (.deb) and Windows (installer)
408+
- Portable archives for both platforms
409+
- Enhanced build process with Lazarus 4.0.0
429410
env:
430411
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
431412

0 commit comments

Comments
 (0)