Skip to content

Commit cf38bcb

Browse files
author
Loïc Mangeonjean
committed
feat: allow to release next version from PR branch
1 parent 552eb27 commit cf38bcb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Release
22

3-
on:
4-
push:
5-
branches: [main]
3+
on: workflow_dispatch
64

75
jobs:
86
release:

release.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
module.exports = {
22
...require('@codingame/semantic-release-config'),
33
branches: [
4-
'main'
4+
'main',
5+
{ name: '*', channel: 'next', prerelease: true }
56
],
67
plugins: [
78
'@semantic-release/commit-analyzer',

0 commit comments

Comments
 (0)