Layer 0: Update release packaging for built artifacts #346

Closed
opened 2026-04-15 08:43:23 +00:00 by mprihoda · 1 comment
mprihoda commented 2026-04-15 08:43:23 +00:00 (Migrated from github.com)

Layer: 0 — Build Infrastructure
Parent: #343

Problem

Current release packaging (scripts/package-release.sh) ships raw core/**/*.scala source files. With the new build architecture, we need to ship pre-built jars instead.

Solution

  1. Update package-release.sh to:
    • Build iw-core.jar from core source
    • Build iw-dashboard.jar via Mill (with bundled Vite assets)
    • Include both jars in build/ directory of the tarball
    • Still include core/ source for development/hook compilation scenarios (or decide to drop it)
  2. Update iw-bootstrap to handle the new tarball structure
  3. CI integration — ensure the release workflow builds both artifacts

Release tarball structure

iw-cli-X.Y.Z/
├── iw-run
├── iw-bootstrap
├── VERSION
├── build/
│   ├── iw-core.jar
│   └── iw-dashboard.jar
├── commands/
│   └── *.scala
└── core/                    # source, for dev/hook compilation (optional)

Dependencies

  • Depends on core jar build (Layer 0, issue 1)
  • Depends on Mill dashboard module (Layer 0, issue 2)
**Layer:** 0 — Build Infrastructure **Parent:** #343 ## Problem Current release packaging (`scripts/package-release.sh`) ships raw `core/**/*.scala` source files. With the new build architecture, we need to ship pre-built jars instead. ## Solution 1. **Update `package-release.sh`** to: - Build `iw-core.jar` from core source - Build `iw-dashboard.jar` via Mill (with bundled Vite assets) - Include both jars in `build/` directory of the tarball - Still include `core/` source for development/hook compilation scenarios (or decide to drop it) 2. **Update `iw-bootstrap`** to handle the new tarball structure 3. **CI integration** — ensure the release workflow builds both artifacts ## Release tarball structure ``` iw-cli-X.Y.Z/ ├── iw-run ├── iw-bootstrap ├── VERSION ├── build/ │ ├── iw-core.jar │ └── iw-dashboard.jar ├── commands/ │ └── *.scala └── core/ # source, for dev/hook compilation (optional) ``` ## Dependencies - Depends on core jar build (Layer 0, issue 1) - Depends on Mill dashboard module (Layer 0, issue 2)
mprihoda commented 2026-06-24 08:18:07 +00:00 (Migrated from github.com)

Completed — merged in PR #373.

Completed — merged in PR #373.
Sign in to join this conversation.
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
iterative-works/iw-cli#346
No description provided.