Task 25: Packaging and release workflow #25

Closed
opened 2026-11-11 08:01:28 +00:00 by charles · 0 comments
Owner

Files:

  • Create: xtask/src/package.rs, packaging/linux/{fluxer-native.desktop,fluxer-native.svg,AppRun}, packaging/windows/fluxer-native.ico, .forgejo/workflows/release.yaml
  • Modify: apps/fluxer/Cargo.toml ([package.metadata.winres] icon), apps/fluxer/build.rs (winres on Windows)

Interfaces:

  • cargo xtask package --target linux → dist/Fluxer-Native-<version>-linux-x86_64.AppImage (release build; appimagetool downloaded and sha-verified by xtask; bundles the binary, desktop file, icon; linuxdeploy not required because the binary links system Vulkan/Wayland dynamically and everything else statically). --target windows → dist/Fluxer-Native-<version>-win-x64.exe (portable) + SHA256SUMS. Version = native-YYYY.MMDD.N derived from the tag or 0.0.0-dev+<sha>.
  • release.yaml: workflow_dispatch with input version; Linux job builds and uploads the AppImage, Windows job the exe; a final job creates the Forgejo release native-<version> with both assets and SHA256SUMS via the API (token from a repo secret, never echoed).

Plan: https://git.forked.io/charles/fluxer-native/src/branch/foundation/docs/superpowers/plans/2026-11-11-foundation.md (section "Task 25")

**Files:** - Create: `xtask/src/package.rs`, `packaging/linux/{fluxer-native.desktop,fluxer-native.svg,AppRun}`, `packaging/windows/fluxer-native.ico`, `.forgejo/workflows/release.yaml` - Modify: `apps/fluxer/Cargo.toml` (`[package.metadata.winres]` icon), `apps/fluxer/build.rs` (`winres` on Windows) **Interfaces:** - `cargo xtask package --target linux` → `dist/Fluxer-Native-<version>-linux-x86_64.AppImage` (release build; `appimagetool` downloaded and sha-verified by xtask; bundles the binary, desktop file, icon; `linuxdeploy` not required because the binary links system Vulkan/Wayland dynamically and everything else statically). `--target windows` → `dist/Fluxer-Native-<version>-win-x64.exe` (portable) + `SHA256SUMS`. Version = `native-YYYY.MMDD.N` derived from the tag or `0.0.0-dev+<sha>`. - `release.yaml`: `workflow_dispatch` with input `version`; Linux job builds and uploads the AppImage, Windows job the exe; a final job creates the Forgejo release `native-<version>` with both assets and `SHA256SUMS` via the API (token from a repo secret, never echoed). --- Plan: https://git.forked.io/charles/fluxer-native/src/branch/foundation/docs/superpowers/plans/2026-11-11-foundation.md (section "Task 25")
charles added this to the Foundation milestone 2026-11-11 08:01:28 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#25
No description provided.