Skip to content

Commit

Permalink
ci: setup beta branch release process
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerlox committed Nov 6, 2023
1 parent cf58dec commit 0aa4221
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 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:
- main
- beta

jobs:
test:
Expand Down
14 changes: 12 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"repositoryUrl": "git@github.com:insurgent-lab/conventional-changelog-preset.git",
"branches": ["main"],
"branches": [
"main",
{
"name": "beta",
"prerelease": true
}
],
"tagFormat": "v${version}",
"plugins": [
[
Expand All @@ -26,7 +32,11 @@
[
"@semantic-release/git",
{
"assets": ["CHANGELOG.md", "package.json", "package-lock.json"],
"assets": [
"CHANGELOG.md",
"package.json",
"package-lock.json"
],
"message": "Release v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
Expand Down

0 comments on commit 0aa4221

Please sign in to comment.