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 }}