diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d42dfc..941b757 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,27 +50,8 @@ jobs: uses: cycjimmy/semantic-release-action@v4 id: semantic with: - semantic_version: 22.0.5 - branches: | - [ - '+([0-9])?(.{+([0-9]),x}).x', - 'master', - 'main', - 'next', - 'next-major', - { - name: 'beta', - prerelease: true - }, - { - name: 'alpha', - prerelease: true - } - ] + semantic_version: 22 extra_plugins: | - @semantic-release/changelog - @semantic-release/git - @semantic-release/exec @semantic-release/github conventional-changelog-conventionalcommits env: diff --git a/.releaserc.js b/.releaserc.js index 9f11c88..6cd313d 100644 --- a/.releaserc.js +++ b/.releaserc.js @@ -1,4 +1,18 @@ module.exports = { + branches: [ + '+([0-9])?(.{+([0-9]),x}).x', + 'master', + 'next', + 'next-major', + { + name: 'beta', + prerelease: true + }, + { + name: 'alpha', + prerelease: true + } + ], dryRun: false, plugins: [ [ @@ -49,14 +63,6 @@ module.exports = { }, }, ], - ["@semantic-release/changelog", { changelogFile: "CHANGELOG.md" }], - [ - "@semantic-release/git", - { - assets: ["CHANGELOG.md"], - message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" - }, - ], "@semantic-release/github", ], };