Skip to content

Commit

Permalink
ci: add support for beta & maintenance releases (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerlox committed Jul 20, 2023
1 parent c6f39ff commit c6fc842
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
- beta
- '+([0-9])?(.{+([0-9]),x}).x'

jobs:
lint-and-test:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -5,6 +5,8 @@ on:
pull_request:
branches:
- master
- beta
- '+([0-9])?(.{+([0-9]),x}).x'

jobs:
lint-and-test:
Expand Down
7 changes: 6 additions & 1 deletion .releaserc
@@ -1,7 +1,12 @@
{
"repositoryUrl": "git@github.com:kelektiv/node-cron.git",
"branches": [
"master"
"master",
{
"name": "beta",
"prerelease": true
},
"+([0-9])?(.{+([0-9]),x}).x"
],
"tagFormat": "v${version}",
"plugins": [
Expand Down

0 comments on commit c6fc842

Please sign in to comment.