diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4fb024..7c1290c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,10 @@ name: build and release -on: push - +on: + push: + branches: + - "!*" + tags: + - "v*" jobs: release: runs-on: ${{ matrix.os }} diff --git a/package.json b/package.json index b9922e6..bee5045 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,8 @@ }, "publish": [ { - "provider": "github" + "provider": "github", + "releaseType": "release" } ], "protocols": {