diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01568d9f5..dfee04ccc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,14 +1,10 @@ name: Release on: - workflow_dispatch: - branches: - - master - workflow_run: workflows: - "Node.js CI" branches: - - master + - char0n/openapi-3-1-support types: - completed jobs: @@ -34,7 +30,7 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Semantic Release id: semantic - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3.2.0 with: dry_run: false extra_plugins: | diff --git a/.releaserc b/.releaserc index 993db263c..2b52ea204 100644 --- a/.releaserc +++ b/.releaserc @@ -1,6 +1,9 @@ { "release": { - "branches": ["master"], + "branches": [ + {"name": "master"}, + {"name": "char0n/openapi-3-1-support", "channel": "alpha", "prerelease": "alpha"} + ], "tagFormat": "v${version}" }, "plugins": [