Skip to content

Commit

Permalink
feat: allow to release next version from PR branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Jan 25, 2024
1 parent 552eb27 commit cf38bcb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Release

on:
push:
branches: [main]
on: workflow_dispatch

jobs:
release:
Expand Down
3 changes: 2 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
module.exports = {
...require('@codingame/semantic-release-config'),
branches: [
'main'
'main',
{ name: '*', channel: 'next', prerelease: true }
],
plugins: [
'@semantic-release/commit-analyzer',
Expand Down

0 comments on commit cf38bcb

Please sign in to comment.