diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27eab9d3..555ca42e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,11 @@ jobs: - name: "๐Ÿงช Test" run: npm run test + - name: "๐Ÿ“– Retrieve package information" + uses: geekyeggo/npm-pkg@v1 + id: pkg + - name: "๐Ÿ“ค Publish" - run: npm publish --provenance --access public + run: npm publish --provenance --access public --tag ${{ steps.pkg.outputs.version-tag }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.npmrc b/.npmrc index abf574fb..af941b49 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1 @@ sign-git-tag=true -tag=beta \ No newline at end of file