From dfd4e9f8a13d5b4bf2e21cce3667b2c08ea154e3 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 11 Apr 2026 04:28:53 +0100 Subject: [PATCH] fix(release): write npm auth for latest promotion --- .github/workflows/openclaw-npm-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/openclaw-npm-release.yml b/.github/workflows/openclaw-npm-release.yml index e18a70ba19c..42d2f7f6bfc 100644 --- a/.github/workflows/openclaw-npm-release.yml +++ b/.github/workflows/openclaw-npm-release.yml @@ -493,6 +493,7 @@ jobs: RELEASE_VERSION: ${{ env.RELEASE_VERSION }} run: | set -euo pipefail + printf '//registry.npmjs.org/:_authToken=%s\n' "${NODE_AUTH_TOKEN}" > "${HOME}/.npmrc" npm whoami >/dev/null npm dist-tag add "openclaw@${RELEASE_VERSION}" latest promoted_latest="$(npm view openclaw dist-tags.latest)"