diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 80c6408..11e75a9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,7 +32,7 @@ jobs: - run: pnpm --recursive --sequential run build release: needs: check - if: github.ref == 'refs/heads/latest' + if: github.ref == 'refs/heads/latest' || github.ref == 'refs/heads/next' permissions: contents: write issues: write diff --git a/release.js b/release.js index f7f903b..b89bcfa 100644 --- a/release.js +++ b/release.js @@ -106,7 +106,10 @@ for (const name of packages) { nextRelease.notes %>` const options = { - branches: ['latest'], + branches: [ + { name: 'latest' }, + { name: 'next', channel: 'next', prerelease: true } + ], tagFormat: name + '-v<%= version %>', plugins: [ wrap(commitAnalyzer),