Skip to content

Commit 292d4f9

Browse files
authored
Merge pull request #90 from CodinGame/allow-release-PR-env
Allow to release next version from PR branch
2 parents 552eb27 + cf38bcb commit 292d4f9

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)