From 9f3fd46d494573c2909951c5837cc92288336c51 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sat, 4 Jul 2026 10:47:31 -0700 Subject: [PATCH] Publish CLI on app release tags (version-locked) The CLI now publishes to npm on every v* tag at the app's version, instead of its own yaak-cli-* tag namespace. Stables go to the latest dist-tag, prereleases to beta/alpha. workflow_dispatch remains for manual publishes. Co-Authored-By: Claude Fable 5 --- .github/workflows/release-cli-npm.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-cli-npm.yml b/.github/workflows/release-cli-npm.yml index c08e687a..ad7052de 100644 --- a/.github/workflows/release-cli-npm.yml +++ b/.github/workflows/release-cli-npm.yml @@ -2,7 +2,7 @@ name: Release CLI to NPM on: push: - tags: [yaak-cli-*] + tags: [v*] workflow_dispatch: inputs: version: @@ -118,7 +118,7 @@ jobs: if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then VERSION="$WORKFLOW_VERSION" else - VERSION="${GITHUB_REF_NAME#yaak-cli-}" + VERSION="${GITHUB_REF_NAME}" fi VERSION="${VERSION#v}" echo "Building yaak version: $VERSION" @@ -175,7 +175,7 @@ jobs: if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then VERSION="$WORKFLOW_VERSION" else - VERSION="${GITHUB_REF_NAME#yaak-cli-}" + VERSION="${GITHUB_REF_NAME}" fi VERSION="${VERSION#v}" if [[ "$VERSION" == *-* ]]; then