Skip to content

Commit

Permalink
chore(release): configure semantic-release for branches (#30)
Browse files Browse the repository at this point in the history
This configures semantic-release to cut releases from the main, next, and support branches
as well as cutting alpha and beta prereleases.
  • Loading branch information
Jonathan Golden authored Nov 5, 2020
1 parent 9c7a57b commit 0b01c0f
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,28 @@
"react-helmet": "^6.1.0"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
],
"branch": "main"
]
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 0b01c0f

Please sign in to comment.