Skip to content

Commit

Permalink
ci: adds feature release channels
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Hecht committed Dec 13, 2024
1 parent 242986a commit 898d66c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
- next
- feature/**

jobs:
release:
Expand Down
5 changes: 5 additions & 0 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ module.exports = {
name: 'next',
prerelease: true,
},
{
name: 'feature/**',
prerelease: '${name.replace(/^feature\\//g, "").replace(/\\/-/g, "")}',
channel: '${name.replace(/^feature\\//g, "").replace(/\\/-/g, "")}',
},
],
plugins: [
'@semantic-release/commit-analyzer',
Expand Down

0 comments on commit 898d66c

Please sign in to comment.