Skip to content

Commit 6998335

Browse files
ozgesolidkeyclaude
andcommitted
Release v0.9.0: bump version, update release workflow for Ubuntu + Windows
- Remove macOS from release matrix (Ubuntu + Windows only) - Add libfuse2, rpm, libudev-dev for AppImage/deb/serial support on Ubuntu - Add electron-rebuild step so native modules (node-pty, serialport, better-sqlite3) are compiled for the correct Electron ABI per platform - Pin explicit build targets: AppImage+deb for Linux, NSIS+portable for Windows - Upgrade to softprops/action-gh-release@v2 - Run tests before packaging to catch regressions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9e5f416 commit 6998335

3 files changed

Lines changed: 37 additions & 22 deletions

File tree

.github/workflows/release.yml

Lines changed: 34 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ jobs:
1212
strategy:
1313
matrix:
1414
include:
15-
- os: macos-latest
16-
platform: mac
1715
- os: ubuntu-latest
1816
platform: linux
1917
- os: windows-latest
@@ -31,40 +29,53 @@ jobs:
3129

3230
- name: Install Linux build dependencies
3331
if: runner.os == 'Linux'
34-
run: sudo apt-get update && sudo apt-get install -y build-essential cmake python3
32+
run: |
33+
sudo apt-get update
34+
sudo apt-get install -y \
35+
build-essential cmake python3 \
36+
libfuse2 rpm \
37+
libudev-dev libusb-1.0-0-dev
3538
3639
- name: Install dependencies
3740
run: npm ci
3841

42+
- name: Rebuild native modules for Electron
43+
run: npx electron-rebuild --force
44+
env:
45+
npm_config_platform: ${{ runner.os == 'Windows' && 'win32' || 'linux' }}
46+
3947
- name: Run tests
4048
run: npm test
4149

42-
- name: Build application
50+
- name: Build TypeScript
4351
run: npm run build
4452

45-
- name: Package for macOS
46-
if: matrix.platform == 'mac'
47-
run: npx electron-builder --mac --publish never
48-
49-
- name: Package for Linux
53+
- name: Package for Linux (AppImage + deb)
5054
if: matrix.platform == 'linux'
51-
run: npx electron-builder --linux --publish never
55+
run: npx electron-builder --linux AppImage deb --publish never
5256

53-
- name: Package for Windows
57+
- name: Package for Windows (NSIS installer + portable)
5458
if: matrix.platform == 'win'
55-
run: npx electron-builder --win --publish never
59+
run: npx electron-builder --win nsis portable --publish never
5660

57-
- name: Upload artifacts
61+
- name: Upload Linux artifacts
62+
if: matrix.platform == 'linux'
5863
uses: actions/upload-artifact@v4
5964
with:
60-
name: logan-${{ matrix.platform }}
65+
name: logan-linux
6166
path: |
62-
release/*.dmg
63-
release/*.zip
6467
release/*.AppImage
6568
release/*.deb
69+
if-no-files-found: error
70+
71+
- name: Upload Windows artifacts
72+
if: matrix.platform == 'win'
73+
uses: actions/upload-artifact@v4
74+
with:
75+
name: logan-windows
76+
path: |
6677
release/*.exe
67-
if-no-files-found: ignore
78+
if-no-files-found: error
6879

6980
release:
7081
needs: build
@@ -78,10 +89,14 @@ jobs:
7889
with:
7990
path: artifacts
8091

81-
- name: Create Release
82-
uses: softprops/action-gh-release@v1
92+
- name: List artifacts
93+
run: find artifacts -type f | sort
94+
95+
- name: Create GitHub Release
96+
uses: softprops/action-gh-release@v2
8397
with:
8498
files: artifacts/**/*
8599
generate_release_notes: true
100+
fail_on_unmatched_files: false
86101
env:
87102
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "logan",
3-
"version": "0.8.0",
3+
"version": "0.9.0",
44
"description": "AI-powered log file viewer and analyzer — handles 14M+ lines with virtual scrolling, MCP agent integration, live serial/logcat/SSH connections, pattern correlation, diff view, and built-in terminal",
55
"keywords": [
66
"log-analyzer",

0 commit comments

Comments
 (0)