From 8eac12ee09ddebc06ef42d9870f5f369cf3af5c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20C=C3=A1rdenas?= Date: Fri, 20 Sep 2024 11:56:02 -0600 Subject: [PATCH] ci: add beta releases (#365) --- .github/workflows/ci.yaml | 1 + .releaserc | 43 ++++++++++++++++++++++----------------- 2 files changed, 25 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9ec40fcb..0f580c6c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,6 +4,7 @@ on: push: branches: - main + - beta - develop paths-ignore: - "**/CHANGELOG.md" diff --git a/.releaserc b/.releaserc index 67d1b2f1..74701590 100644 --- a/.releaserc +++ b/.releaserc @@ -1,22 +1,27 @@ { - "branches": [ - "main" + "branches": [ + "main", + { + "name": "beta", + "channel": "beta", + "prerelease": true + } + ], + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "preset": "conventionalcommits" + } ], - "plugins": [ - [ - "@semantic-release/commit-analyzer", - { - "preset": "conventionalcommits" - } - ], - [ - "@semantic-release/release-notes-generator", - { - "preset": "conventionalcommits" - } - ], - "@semantic-release/github", - "@semantic-release/changelog", - "@semantic-release/git" - ] + [ + "@semantic-release/release-notes-generator", + { + "preset": "conventionalcommits" + } + ], + "@semantic-release/github", + "@semantic-release/changelog", + "@semantic-release/git" + ] }