Skip to content

Commit 024ccc4

Browse files
committed
chore: add Linux builds and bump version to 0.4.1
- Add Linux build job to GitHub Actions workflow (deb, rpm, AppImage) - Update bundle targets to include Linux formats - Bump version to 0.4.1 across all config files
1 parent 8dfcfef commit 024ccc4

6 files changed

Lines changed: 61 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ on:
1414
description: 'Build macOS version'
1515
type: boolean
1616
default: true
17+
build_linux:
18+
description: 'Build Linux version'
19+
type: boolean
20+
default: true
1721

1822
permissions:
1923
contents: write
@@ -118,8 +122,54 @@ jobs:
118122
src-tauri/target/release/bundle/nsis/*.exe
119123
src-tauri/target/release/data-x.exe
120124
125+
build-linux:
126+
if: ${{ github.event_name == 'push' || inputs.build_linux }}
127+
runs-on: ubuntu-22.04
128+
steps:
129+
- uses: actions/checkout@v4
130+
131+
- name: Install Linux dependencies
132+
run: |
133+
sudo apt-get update
134+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
135+
136+
- name: Setup Node
137+
uses: actions/setup-node@v4
138+
with:
139+
node-version: 20
140+
cache: 'npm'
141+
cache-dependency-path: ui/package-lock.json
142+
143+
- name: Install Rust
144+
uses: dtolnay/rust-toolchain@stable
145+
146+
- name: Rust cache
147+
uses: Swatinem/rust-cache@v2
148+
149+
- name: Install frontend dependencies
150+
working-directory: ui
151+
run: npm ci
152+
153+
- name: Install Tauri CLI
154+
run: cargo install tauri-cli
155+
156+
- name: Build TUI binary
157+
run: cargo build --release --no-default-features
158+
159+
- name: Build Tauri app
160+
run: cargo tauri build
161+
162+
- name: Upload Linux artifacts
163+
uses: actions/upload-artifact@v4
164+
with:
165+
name: Data-X-Linux-x64
166+
path: |
167+
src-tauri/target/release/bundle/deb/*.deb
168+
src-tauri/target/release/bundle/rpm/*.rpm
169+
src-tauri/target/release/bundle/appimage/*.AppImage
170+
121171
release:
122-
needs: [build-macos, build-windows]
172+
needs: [build-macos, build-windows, build-linux]
123173
runs-on: ubuntu-latest
124174
if: startsWith(github.ref, 'refs/tags/')
125175
steps:
@@ -144,6 +194,9 @@ jobs:
144194
artifacts/**/*.dmg
145195
artifacts/**/*.msi
146196
artifacts/**/*.exe
197+
artifacts/**/*.deb
198+
artifacts/**/*.rpm
199+
artifacts/**/*.AppImage
147200
draft: true
148201
generate_release_notes: true
149202
env:

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "data-x"
3-
version = "0.3.0"
3+
version = "0.4.1"
44
edition = "2021"
55
description = "Fast, visual disk space analyzer with GUI and TUI"
66
authors = ["Cassel <c@cassel.us>"]
@@ -77,7 +77,7 @@ panic = "abort"
7777
name = "Data-X"
7878
identifier = "us.cassel.data-x"
7979
icon = ["assets/icon.icns"]
80-
version = "0.2.0"
80+
version = "0.4.1"
8181
copyright = "Copyright (c) 2026 Cassel. All rights reserved."
8282
category = "public.app-category.utilities"
8383
short_description = "Disk analyzer with visual treemap"

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "data-x"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
description = "Fast, visual disk space analyzer"
55
authors = ["Cassel <c@cassel.us>"]
66
license = "MIT"

src-tauri/tauri.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "Data-X",
4-
"version": "0.4.0",
4+
"version": "0.4.1",
55
"identifier": "us.cassel.data-x",
66
"build": {
77
"beforeDevCommand": "npm run dev",
@@ -31,7 +31,7 @@
3131
},
3232
"bundle": {
3333
"active": true,
34-
"targets": ["dmg", "app", "nsis", "msi"],
34+
"targets": ["dmg", "app", "nsis", "msi", "deb", "rpm", "appimage"],
3535
"icon": [
3636
"icons/32x32.png",
3737
"icons/128x128.png",

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "data-x-ui",
33
"private": true,
4-
"version": "0.4.0",
4+
"version": "0.4.1",
55
"description": "Data-X GUI - React frontend for disk analyzer",
66
"author": "Cassel <c@cassel.us>",
77
"license": "MIT",

0 commit comments

Comments
 (0)