From ec4b4dbc63778e99c737106d0f263a39b2ee7de8 Mon Sep 17 00:00:00 2001 From: Pavel Malyshev <144722216+dxpm@users.noreply.github.com> Date: Fri, 22 Dec 2023 14:06:57 +0300 Subject: [PATCH] Update npm-publish.yml --- .github/workflows/npm-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 8df97101..31e8ef16 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -18,7 +18,7 @@ jobs: - run: yarn install --frozen-lockfile - run: git config user.email "pmalyshev@devexperts.com" - run: git config user.name "dxpm" - - run: git checkout ${{ github.ref }} + - run: git checkout ${{ github.ref_name }} - run: npm version from-git --no-git-tag-version - run: git commit -a -m "ci:bump package version" - run: git push https://${{ github.actor }}:${{ github.token }}@github.com/${{ github.repository }}.git ${{ github.ref }}