From edb76b4cb6d2e39c63c3829149084288886f3e68 Mon Sep 17 00:00:00 2001 From: Timo Bechtel Date: Mon, 13 Nov 2023 12:45:42 +0100 Subject: [PATCH] feat(semantic-release): update config to be more similar to the default config --- semantic-release/index.cjs | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/semantic-release/index.cjs b/semantic-release/index.cjs index 9bb2d8f..eb1bb3e 100644 --- a/semantic-release/index.cjs +++ b/semantic-release/index.cjs @@ -2,20 +2,18 @@ * @type {import('semantic-release').GlobalConfig} */ module.exports = { - branches: [ - 'main', - { - name: 'canary', - channel: 'canary', - prerelease: true, - }, - ], - plugins: [ - '@semantic-release/commit-analyzer', - '@semantic-release/release-notes-generator', - '@semantic-release/changelog', - '@semantic-release/npm', - '@semantic-release/github', - '@semantic-release/git', - ], + branches: [ + 'main', + '+([0-9])?(.{+([0-9]),x}).x', + { name: 'beta', prerelease: true }, + { name: 'alpha', prerelease: true }, + ], + plugins: [ + '@semantic-release/commit-analyzer', + '@semantic-release/release-notes-generator', + '@semantic-release/changelog', + '@semantic-release/npm', + '@semantic-release/github', + '@semantic-release/git', + ], };