Skip to content

Commit

Permalink
feat: added releaserc file
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed May 1, 2022
1 parent 138f1b9 commit f8fc9a0
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .releaserc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
const files = []
const defaultBranch = 'main'

module.exports = {
defaultBranch,
branches: [
// tags
"+([0-9])?(.{+([0-9]),x}).x",

// default branch
defaultBranch,

// alpha
"next",
"next-major",
{ name: "beta", prerelease: true },
{ name: "alpha", prerelease: true },

// git-flow
"bug/*",
"bugfix/*",
"release/*",
"feature/*",
],
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
npmPublish: false,
},
],
[
"@semantic-release/git",
{
assets: ["docs", "README.md", "CHANGELOG.md", ...files],
message:
"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
},
],
[
"@semantic-release/github",
{
assets: ["dist/**/*.{js,css,py}", ...files],
},
],
],
};

0 comments on commit f8fc9a0

Please sign in to comment.