From 496a020db6329174ab8c6893475a0e56b6e6871a Mon Sep 17 00:00:00 2001 From: Alexis Couvreur Date: Sat, 9 Apr 2022 08:38:14 +0000 Subject: [PATCH] ci: release on beta branch --- .github/workflows/release.yml | 2 +- release.config.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3f7276..7f79786 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,4 +30,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} run: | npm i -G semantic-release @semantic-release/exec - npx semantic-release -b main \ No newline at end of file + npx semantic-release \ No newline at end of file diff --git a/release.config.js b/release.config.js index 12dc904..99bbd8e 100644 --- a/release.config.js +++ b/release.config.js @@ -1,5 +1,8 @@ module.exports = { - "branches": "main", + "branches": [ + { "name": "main" }, + { "name": "beta", "channel": "beta", "prerelease": "beta" }, + ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator",