From 71e55bdee357a94fcc07fbb0fd464fb0de53e5ce Mon Sep 17 00:00:00 2001 From: hbrooks Date: Mon, 29 Jun 2026 23:55:25 -0400 Subject: [PATCH] chore: release v0.1.6 Bump to 0.1.6 and fix the release workflow's version stamping. Since #16, src/lib/constants.ts reads pkg.version, so the workflow's sed on "export const VERSION = ..." no longer matched and was a no-op: a tag would ship a binary reporting the old version and fail the Homebrew `agent --version` assertion. Stamp package.json via `npm version` instead. --- .github/workflows/release.yml | 7 ++++--- package.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fa13b9..c7776e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,9 +33,10 @@ jobs: fi - name: Stamp version into the binary - run: | - V="${{ steps.version.outputs.version }}" - sed -i "s/export const VERSION = '.*'/export const VERSION = '$V'/" src/lib/constants.ts + # package.json is the single source of truth — src/lib/constants.ts reads + # pkg.version, which tsup/bun inline at build time. This MUST match the tag + # because the Homebrew `test do` block asserts `agent --version` == version. + run: npm version "${{ steps.version.outputs.version }}" --no-git-tag-version --allow-same-version - name: Install dependencies run: bun install diff --git a/package.json b/package.json index 5230343..83ffc19 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ellipsis/cli", - "version": "0.1.5", + "version": "0.1.6", "description": "Ellipsis agent CLI — drive the Ellipsis cloud from your terminal", "license": "MIT", "type": "module",