Skip to content

Commit

Permalink
ci: fix releaserc (#5960)
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin committed Feb 6, 2022
1 parent 75855d7 commit a07317f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
@@ -1,6 +1,8 @@
name: Release

on:
pull_request:
branches-ignore: ['*']
push:
branches:
- next
Expand Down
22 changes: 14 additions & 8 deletions .releaserc
@@ -1,15 +1,24 @@
{
"branches": [
"main",
"next",
"next-major",
{"name": "beta", "prerelease": true},
{"name": "alpha", "prerelease": true}
],
"plugins": [
[
"@semantic-release/commit-analyzer", {
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{"scope": "no-release", "release": false}
]
}
],
[
"@semantic-release/release-notes-generator", {
"@semantic-release/release-notes-generator",
{
"preset": "angular",
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
Expand All @@ -21,20 +30,17 @@
}
],
[
"@semantic-release/changelog", {
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
"@semantic-release/github",
[
"semantic-release-github-pullrequest",
{
"baseRef": "main",
"assets": ["CHANGELOG.md"],
"labels": [
"semantic-release",
"auto-squash"
]
"labels": ["semantic-release", "auto-squash"]
}
]
]
Expand Down

0 comments on commit a07317f

Please sign in to comment.