From cc361c4740282dce120f4667405f5059132bcc3d Mon Sep 17 00:00:00 2001 From: Trevor Date: Thu, 23 Jan 2020 01:59:10 -0700 Subject: [PATCH] Update npmpublish.yml (#14) --- .github/workflows/npmpublish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index d6aa211..ebdb4b8 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -26,7 +26,7 @@ jobs: registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm run build - - run: npm version from-git + - run: npm version ${GITHUB_REF/refs\/tags\//} - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}}