Commit Graph

14 Commits

Author SHA1 Message Date
b77b9679b1 Auto-increment app version using git commit count in CI builds
All checks were successful
Build App / build-windows (push) Successful in 3m11s
Build App / build-linux (push) Successful in 4m7s
Version is computed as 0.1.{commit_count} and patched into
tauri.conf.json, package.json, and Cargo.toml at build time.
Release tags now use v0.1.N format instead of build-{sha}.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 12:12:24 -08:00
9454f30b4d Fix Windows upload: rewrite release upload in cmd instead of bash
All checks were successful
Build App / build-windows (push) Successful in 3m6s
Build App / build-linux (push) Successful in 4m17s
The Windows runner doesn't have bash. Rewrite the Gitea release
API upload step using cmd batch syntax.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 08:13:20 -08:00
fb8161dc0d Replace upload-artifact with Gitea release API
Some checks failed
Build App / build-windows (push) Failing after 3m8s
Build App / build-linux (push) Has been cancelled
upload-artifact@v4 doesn't support Gitea (GHES). Use the Gitea
REST API to create releases and upload build artifacts directly.
Each successful push creates a tagged release with the build outputs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 08:08:57 -08:00
476d3a9727 Fix Windows build: set npm os=win32 before installing
Some checks failed
Build App / build-windows (push) Failing after 1m47s
Build App / build-linux (push) Has been cancelled
The Gitea act runner sets npm's os config to linux even on Windows,
causing npm to skip Windows-specific optional deps like rollup and
esbuild native bindings. Explicitly set os=win32 before npm install.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:59:17 -08:00
3f96c45d9e Fix Windows build: explicitly install rollup and esbuild native bindings
Some checks failed
Build App / build-windows (push) Failing after 18s
Build App / build-linux (push) Has been cancelled
npm's optional dependency resolution fails to install the Windows
platform-specific native bindings. Install them explicitly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:56:59 -08:00
dd6e63bbf6 Fix Windows build: build frontend separately from Tauri
Some checks failed
Build App / build-windows (push) Failing after 22s
Build App / build-linux (push) Has been cancelled
The beforeBuildCommand in tauri.conf.json spawns a subprocess
that inherits a broken rollup native binding. Build the frontend
as a separate CI step, then skip beforeBuildCommand via
TAURI_CONFIG override when running cargo tauri build.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:55:08 -08:00
fe978be5fe Fix Linux build: add xdg-utils for AppImage bundling
Some checks failed
Build App / build-windows (push) Failing after 24s
Build App / build-linux (push) Has been cancelled
The AppImage bundler requires xdg-open to be present.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:51:58 -08:00
439c84ed13 Fix Windows build: remove lockfile before npm install
Some checks failed
Build App / build-windows (push) Failing after 28s
Build App / build-linux (push) Has been cancelled
The lockfile was generated on Linux and doesn't include Windows
platform-specific optional deps (rollup, esbuild, etc). Delete
package-lock.json and node_modules so npm resolves fresh.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:50:20 -08:00
03fb832fa2 Fix Windows build: quote cargo version specifier
Some checks failed
Build App / build-windows (push) Failing after 4m2s
Build App / build-linux (push) Failing after 4m51s
The caret in ^2 needs quoting in cmd shell to avoid being
interpreted as an escape character.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:45:19 -08:00
5a69b54d5c Fix Windows build: install Tauri CLI via cargo, use npm install
Some checks failed
Build App / build-windows (push) Failing after 13s
Build App / build-linux (push) Has been cancelled
The npm @tauri-apps/cli package uses platform-specific optional
dependencies that don't resolve correctly when the lockfile was
generated on Linux. Install tauri-cli via cargo instead, and use
npm install (not npm ci) to resolve Windows-native packages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:44:23 -08:00
276179339e Fix Windows build: use cmd shell with explicit PATH
Some checks failed
Build App / build-windows (push) Failing after 32s
Build App / build-linux (push) Has been cancelled
GITHUB_PATH file isn't picked up between steps on the Gitea runner.
Switch to cmd shell and prepend cargo/node to PATH in each step.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:42:57 -08:00
da0b913c63 Fix Windows build: use powershell instead of pwsh
Some checks failed
Build App / build-windows (push) Failing after 55s
Build App / build-linux (push) Has been cancelled
The runner doesn't have PowerShell Core (pwsh) installed.
Fall back to Windows PowerShell (powershell) which is always available.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:40:33 -08:00
a8a02b7c6c Fix Windows build: use PowerShell instead of bash-based actions
Some checks failed
Build App / build-windows (push) Failing after 12s
Build App / build-linux (push) Has been cancelled
The Gitea runner on Windows doesn't have bash available for
composite actions. Replace dtolnay/rust-toolchain and
actions/setup-node with direct PowerShell commands.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:39:32 -08:00
7ce707e0fa Add Gitea Action to build app for Linux and Windows
Some checks failed
Build App / build-windows (push) Failing after 1m34s
Build App / build-linux (push) Has been cancelled
Triggers on pushes to app/ directory. Builds Tauri app on both
platforms with Rust caching, uploads .AppImage/.deb/.rpm for Linux
and .msi/.exe for Windows as artifacts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 07:35:45 -08:00