From 8e3689a5d6292556ea738291ba2b674fdf71ce7d Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 4 Feb 2026 12:10:02 -0800 Subject: [PATCH] tag released cli versions (#9071) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Max Paulus 🥪 --- .github/workflows/npm-main.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-main.yaml b/.github/workflows/npm-main.yaml index f9c407ec0d..e8a543ec84 100644 --- a/.github/workflows/npm-main.yaml +++ b/.github/workflows/npm-main.yaml @@ -9,7 +9,7 @@ on: type: string permissions: - contents: read + contents: write # Required for pushing tags checks: write # Required by test workflow pull-requests: write # Required by test workflow @@ -88,6 +88,13 @@ jobs: cd dist-standalone npm publish --tag latest --access public + - name: Tag release + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git tag "v${{ steps.version.outputs.version }}-cli" + git push origin "v${{ steps.version.outputs.version }}-cli" + - name: Summary run: | echo "✅ Successfully published cline@${{ steps.version.outputs.version }} to NPM with tag 'latest'"