diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f51b0f8..edddd4e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -254,13 +254,7 @@ jobs: - name: Publish run: | npm config set provenance true - if [ -z "$IS_NEXT" ]; then - npm publish --access public - else - npm publish --access public --tag next - fi - env: - IS_NEXT: ${{ endsWith(github.ref_name, '-next') }} + npm publish --access public - name: Release drafter uses: release-drafter/release-drafter@v5 env: diff --git a/package.json b/package.json index 34f4a8e..a5ba714 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-screenshots", - "version": "0.2.7", + "version": "0.2.8", "description": "Zero-dependent. A native nodejs screenshots library for Mac、Windows、Linux.", "main": "index.js", "repository": {