Skip to content

Commit

Permalink
chore: create release configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidsowardx committed Jun 1, 2023
1 parent f63b38e commit e8b68ab
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 @@ -4,6 +4,7 @@ on:
push:
branches:
- develop
- release/**
workflow_dispatch:

jobs:
Expand Down
5 changes: 5 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ module.exports = {
channel: 'alpha',
prerelease: 'alpha',
},
{
name: 'release/([a-z]+)',
channel: '${name.replace(/^release\\//g, "")}',
prerelease: '${name.replace(/^release\\//g, "")}',
},
],
plugins: [
[
Expand Down

0 comments on commit e8b68ab

Please sign in to comment.