From e34825a66901daf9e6dbe7e8164e5137feb505c1 Mon Sep 17 00:00:00 2001 From: Momijiichigo Date: Mon, 19 Aug 2024 15:23:16 -0500 Subject: [PATCH] version fix --- .github/workflows/npm-publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 322f4df..61163c1 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -23,8 +23,11 @@ jobs: - run: npm ci - run: npm run test - run: npm run build - - name: Update version in package.json - uses: maks-stupak/gh-action-bump-version@v7.1.5 + - name: update version + run: | + git config --global user.name 'Momijiichigo' + git config --global user.email 'Momijiichigo@users.noreply.github.com' + npm version ${{ github.ref_name }} - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}