From 6504d772790e79b1de3531678f5f6fe3d5bf4991 Mon Sep 17 00:00:00 2001 From: Badri Narayanan S Date: Fri, 26 Dec 2025 00:31:15 +0530 Subject: [PATCH] fix: auto-sync version from release tag in publish workflow --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 045c844..937a718 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,6 +20,9 @@ jobs: - name: Install dependencies run: npm ci + - name: Update version from release tag + run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version --allow-same-version + - name: Publish to npm run: npm publish env: