From 809c8dca920e6050078b0819c5553267e583acb0 Mon Sep 17 00:00:00 2001 From: Wurielle Date: Sat, 20 Jul 2024 23:35:53 +0200 Subject: [PATCH] ci: update semantic release --- .github/workflows/tag-release.yml | 3 +++ .releaserc | 19 ++++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml index 609fad4..c2bce99 100644 --- a/.github/workflows/tag-release.yml +++ b/.github/workflows/tag-release.yml @@ -3,6 +3,9 @@ on: push: branches: - main + - pre/rc + - beta + - alpha jobs: tag-release: diff --git a/.releaserc b/.releaserc index 3b2a6ab..fc75feb 100644 --- a/.releaserc +++ b/.releaserc @@ -1,5 +1,22 @@ { - "branches": ["main"], + "branches": [ + "main", + { + "name": "pre/rc", + "channel": "pre/rc", + "prerelease": "rc" + }, + { + "name": "beta", + "channel": "beta", + "prerelease": "beta" + }, + { + "name": "alpha", + "channel": "alpha", + "prerelease": "alpha" + } + ], "plugins": [ [ "@semantic-release/npm",