diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index bd257bad33..1b30972526 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -2,7 +2,7 @@ name: 🚀 Auto Release on: push: branches: - - latest # 正式版 + - 1.x-stable # 1.x 稳定版 - beta - alpha - next diff --git a/.releaserc.base.js b/.releaserc.base.js index 544d514383..fff45ad003 100644 --- a/.releaserc.base.js +++ b/.releaserc.base.js @@ -3,7 +3,7 @@ const path = require('path'); module.exports = { extends: 'semantic-release-monorepo', branches: [ - 'latest', + { name: '1.x-stable', channel: 'latest', prerelease: false }, { name: 'beta', channel: 'beta', prerelease: true }, { name: 'alpha', channel: 'alpha', prerelease: true }, { name: 'next', channel: 'next', prerelease: true }, @@ -28,9 +28,9 @@ module.exports = { '@semantic-release/npm', [ '@semantic-release/git', - { + { message: 'chore(release): 🤖 ${nextRelease.gitTag} [skip ci]', - }, + }, ], '@semantic-release/github', [