Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
chore: add npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuel Suriano committed Nov 19, 2023
1 parent 013e87d commit 976798f
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions gatsby-theme-mate/release.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
module.exports = {
branches: ['master'],
branches: ['main'],
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: ['dist/**/*.{js,css}', 'docs', 'package.json'],
assets: ['CHANGELOG.md', 'dist/**'],
message:
'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
'chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
],
],
Expand Down

0 comments on commit 976798f

Please sign in to comment.