Skip to content

Commit dbc5629

Browse files
committed
release: bump to 1.0.0-alpha.1 and promote published version to latest dist-tag
Adds a post-publish step that runs: npm dist-tag add daemora@<version> latest so plain `npm install daemora` resolves to the freshly published version instead of the legacy 2026.1.2-beta.2 JS release pinned to `latest` from before the rewrite.
1 parent 77f4765 commit dbc5629

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,20 @@ jobs:
156156
env:
157157
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
158158

159+
# Promote the just-published version to `latest` so plain
160+
# `npm install daemora` (no tag) gets the new code. Without this,
161+
# `latest` stays pinned to whatever stable was published before
162+
# (e.g. 2026.1.2-beta.2) and pre-release publishes would only be
163+
# reachable via `npm install daemora@alpha`.
164+
- name: Promote to latest dist-tag
165+
if: |
166+
steps.config.outputs.skip != 'true' &&
167+
inputs.dry_run != true
168+
run: |
169+
npm dist-tag add "daemora@${{ steps.config.outputs.version }}" latest
170+
env:
171+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
172+
159173
- name: Dry run (no publish)
160174
if: |
161175
steps.config.outputs.skip != 'true' &&

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "daemora",
3-
"version": "1.0.0-alpha.0",
3+
"version": "1.0.0-alpha.1",
44
"description": "Self-hosted AI agent platform — autonomous, multi-channel, multi-model.",
55
"type": "module",
66
"license": "AGPL-3.0-or-later",

0 commit comments

Comments
 (0)