Skip to content

Commit

Permalink
馃懛 ci: Add changes to how semantic-release work
Browse files Browse the repository at this point in the history
BREAKING CHANGE just to enforce new major version
  • Loading branch information
jorgebodega committed Dec 10, 2021
1 parent 15e7cd9 commit c4c34dd
Show file tree
Hide file tree
Showing 4 changed files with 254 additions and 289 deletions.
27 changes: 24 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/commit-analyzer",
{
"headerPattern": "/^(:w*: )?(w*)(?:(([w$.-* ]*)))?: (.*)$",
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES"
]
}
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "CHANGELOG.md"
}
],
[
"@semantic-release/git",
{
"assets": ["package.json", "yarn.lock"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
"assets": [
"package.json",
"yarn.lock",
"CHANGELOG.md"
],
"message": "Chore: Release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/npm",
Expand Down
1 change: 0 additions & 1 deletion .sgcrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"body": false,
"emoji": true
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/w3tecch/typeorm-seeding.git"
"url": "https://github.com/jorgebodega/typeorm-seeding.git"
},
"scripts": {
"prebuild": "rimraf dist",
Expand Down Expand Up @@ -59,6 +59,7 @@
"typescript": "^4.5.3"
},
"dependencies": {
"@semantic-release/changelog": "^6.0.1",
"chalk": "^4.1.2",
"faker": "^5.5.3",
"glob": "^7.2.0",
Expand Down

0 comments on commit c4c34dd

Please sign in to comment.