Skip to content

Commit

Permalink
fix(workflows): add semantic-release config to target specific branches
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuagraber committed Aug 22, 2023
1 parent d876da7 commit 70c3796
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions release.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
branches: [
'main',
{
name: 'feature/create-release-action',
prerelease: true,
},
],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
[
'@semantic-release/changelog',
{
changelogFile: 'CHANGELOG.md',
},
],
'@semantic-release/npm',
'@semantic-release/github',
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md', 'dist/**'],
message: 'chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
],
};

0 comments on commit 70c3796

Please sign in to comment.