ci: release on beta branch

This commit is contained in:
Alexis Couvreur
2022-04-09 08:38:14 +00:00
parent 410a5e15eb
commit 4f89362e41
2 changed files with 5 additions and 2 deletions

View File

@@ -30,4 +30,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
npm i -G semantic-release @semantic-release/exec
npx semantic-release -b main
npx semantic-release

View File

@@ -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",