From 621c2cc82176f82f531a399efa7a81c2ed0601f7 Mon Sep 17 00:00:00 2001 From: kumarabhirup Date: Fri, 20 Mar 2026 12:19:22 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20RELEASE:=20v2.3.17?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 +- package.json | 2 +- scripts/deploy.sh | 44 +++++------------------------------ 3 files changed, 8 insertions(+), 40 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71b4fc6c59f..bb648de485f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,7 +75,7 @@ jobs: POSTHOG_KEY: ${{ secrets.POSTHOG_KEY }} run: pnpm run deploy:check - - name: Publish packages to npm + - name: Publish denchclaw to npm if: steps.npm.outputs.published != 'true' env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 7a4e1954b53..d7650cd15fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "denchclaw", - "version": "2.3.16", + "version": "2.3.17", "description": "Fully Managed OpenClaw Framework for managing your CRM, Sales Automation and Outreach agents. The only local productivity tool you need.", "keywords": [], "homepage": "https://github.com/DenchHQ/DenchClaw#readme", diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 538e1d460e7..44ec19675d2 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -22,8 +22,6 @@ set -euo pipefail PACKAGE_NAME="denchclaw" -ALIAS_PACKAGE_NAME="dench" -ALIAS_PACKAGE_DIR="packages/dench" SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" ROOT_DIR="$(cd "$SCRIPT_DIR/.." && pwd)" @@ -346,42 +344,16 @@ fi # Always tag as "latest" — npm skips the latest tag for prerelease versions # by default, but we want `npm i -g denchclaw` to always resolve to -# the most recently published version. +# the most recently published version. The root package already exposes both +# `denchclaw` and `dench` binaries, so there is no separate alias package. echo "publishing ${PACKAGE_NAME}@${VERSION}..." run_npm publish --access public --tag latest -# ── publish alias package (dench → denchclaw) ──────────────────────────────── - -ALIAS_PUBLISHED=false -ALIAS_DIR="${ROOT_DIR}/${ALIAS_PACKAGE_DIR}" -if [[ -d "$ALIAS_DIR" ]]; then - # Pin the alias package version and its denchclaw dependency to this release. - node -e " - const fs = require('fs'); - const pkg = JSON.parse(fs.readFileSync('${ALIAS_DIR}/package.json', 'utf-8')); - pkg.version = '${VERSION}'; - pkg.dependencies.denchclaw = '^${VERSION}'; - fs.writeFileSync('${ALIAS_DIR}/package.json', JSON.stringify(pkg, null, 2) + '\n'); - " - echo "publishing ${ALIAS_PACKAGE_NAME}@${VERSION}..." - if (cd "$ALIAS_DIR" && run_npm publish --access public --tag latest 2>/dev/null); then - ALIAS_PUBLISHED=true - echo "published ${ALIAS_PACKAGE_NAME}@${VERSION}" - else - echo "warning: failed to publish ${ALIAS_PACKAGE_NAME}@${VERSION} (non-fatal)" - echo " npx ${PACKAGE_NAME} still works; ${ALIAS_PACKAGE_NAME} alias is optional" - fi -fi - -# Verify published npx flows for both CLI aliases. +# Verify published npx flows for the primary package. if [[ "$SKIP_NPX_SMOKE" != true ]]; then echo "verifying npx binaries..." verify_npx_command "$VERSION" "npx denchclaw" \ npx --yes "${PACKAGE_NAME}@${VERSION}" --version - if [[ "$ALIAS_PUBLISHED" == true ]]; then - verify_npx_command "$VERSION" "npx dench (via dench package)" \ - npx --yes "${ALIAS_PACKAGE_NAME}@${VERSION}" --version - fi verify_npx_invocation "npx denchclaw update --help" \ npx --yes "${PACKAGE_NAME}@${VERSION}" update --help verify_npx_invocation "npx denchclaw start --help" \ @@ -398,10 +370,6 @@ if [[ ! -f "$STANDALONE_SERVER" ]]; then fi echo "" -if [[ "$ALIAS_PUBLISHED" == true ]]; then - echo "published ${PACKAGE_NAME}@${VERSION} + ${ALIAS_PACKAGE_NAME}@${VERSION}" - echo "install: npm i -g ${PACKAGE_NAME} (or: npm i -g ${ALIAS_PACKAGE_NAME})" -else - echo "published ${PACKAGE_NAME}@${VERSION}" - echo "install: npm i -g ${PACKAGE_NAME}" -fi +echo "published ${PACKAGE_NAME}@${VERSION}" +echo "install: npm i -g ${PACKAGE_NAME}" +echo "commands: ${PACKAGE_NAME}, dench"