diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1929d21..f80f314 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,9 +28,9 @@ jobs: run: | git config --global user.name '${{ github.repository_owner }}' git config --global user.email '${{ github.repository_owner }}@users.noreply.github.com' - npm version ${{ github.ref_name }} --git-tag-version=false + npm version ${{ github.ref_name }} --git-tag-version=false git commit -am "bump version to ${{ github.ref_name }}" - git push + git push origin HEAD:${{ github.ref }} - name: release run: npm publish --provenance --access public diff --git a/package-lock.json b/package-lock.json index 22696e8..d300f8e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,6 @@ "packages": { "": { "name": "@sysix/broadcast-single-worker", - "version": "0.2.0", "license": "MIT", "dependencies": { "eventemitter3": "^5.0.1" diff --git a/package.json b/package.json index 3ea9c69..99844b1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,5 @@ { "name": "@sysix/broadcast-single-worker", - "version": "0.2.0", "description": "Create a single worker for multiple browser tabs", "module": "dist/index.js", "browser": "dist/index.js",