From 2f1b4b7274f2b4296d9fa11fe72a7883e4d7458a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Mangeonjean?= Date: Thu, 25 Jan 2024 15:35:59 +0100 Subject: [PATCH] feat: allow to release next version from PR branch --- .github/workflows/release.yml | 4 +--- release.config.js | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f4fd50..4820056 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,6 @@ name: Release -on: - push: - branches: [main] +on: workflow_dispatch jobs: release: diff --git a/release.config.js b/release.config.js index 2809fdf..5c9d004 100644 --- a/release.config.js +++ b/release.config.js @@ -1,7 +1,8 @@ module.exports = { ...require('@codingame/semantic-release-config'), branches: [ - 'main' + 'main', + { name: '*', channel: 'next', prerelease: true } ], plugins: [ '@semantic-release/commit-analyzer',