From f9118c533c9edc3ef012b2d967bae999eab09a4e Mon Sep 17 00:00:00 2001 From: William Candillon Date: Thu, 25 Jan 2024 08:33:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20fix=20release=20script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-npm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-npm.yml b/.github/workflows/build-npm.yml index a9075c9f26..a2b3f5c7f7 100644 --- a/.github/workflows/build-npm.yml +++ b/.github/workflows/build-npm.yml @@ -60,7 +60,7 @@ jobs: - name: Get NPM Package version id: get_npm_package_version - run: echo "npm_package_version=$(yarn get-version-npm| tail -2)" >> "$GITHUB_OUTPUT" + run: echo "npm_package_version=$(yarn get-version-npm| tail -2| head -1)" >> "$GITHUB_OUTPUT" - name: Publish to NPM uses: JS-DevTools/npm-publish@v1