From f723d77ac6b5fd4b20e0936b1105f812553caf50 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Sun, 22 Feb 2026 09:22:33 -0800 Subject: [PATCH] Require explicit version for manual CLI npm publish workflow --- .github/workflows/release-cli-npm.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-cli-npm.yml b/.github/workflows/release-cli-npm.yml index 7b99f4ae..5358ec9f 100644 --- a/.github/workflows/release-cli-npm.yml +++ b/.github/workflows/release-cli-npm.yml @@ -4,6 +4,11 @@ on: push: tags: [v*] workflow_dispatch: + inputs: + version: + description: Version to publish (for example v2026.3.0) + required: true + type: string jobs: build-binaries: @@ -97,7 +102,7 @@ jobs: - name: Prepare npm packages env: - YAAK_CLI_VERSION: ${{ github.ref_name }} + YAAK_CLI_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.ref_name }} run: node npm/prepare-publish.js - name: Ensure NPM token exists