Skip to content

Commit

Permalink
ci: change to releaserc
Browse files Browse the repository at this point in the history
  • Loading branch information
rubencabrera committed Apr 13, 2023
1 parent ee4b1e5 commit 95e2880
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 38 deletions.
27 changes: 27 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"branches": [
"12",
"master"
],
"debug": true,
"fail": { "@semantic-release/github" },
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{"type": "docs", "scope": "README", "release": "patch"},
{"type": "refactor", "release": "patch"},
{"type": "style", "release": "patch"},
{"type": "build", "release": "patch"}
]
}
],
"@semantic-release/github"
],
"publish": { "@semantic-release/github" },
"repositoryUrl": "https://github.com/rubencabrera/odoo-addons.git",
"tagFormat": "${version}",
"verifyConditions": { "@semantic-release/github" }
}
62 changes: 24 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,27 @@
{
"name": "odoo-addons",
"description": "Odoo extra addons",
"scripts": {
"semantic-release": "semantic-release"
},
"devDependencies": {
"semantic-release": "19.0.3",
"@semantic-release/commit-analyzer": "8.0.1",
"@semantic-release/git": "9.0.0"
},
"release": {
"branches": [
"12",
"master"
"branches": [
"12",
"master"
],
"debug": true,
"fail": { "@semantic-release/github" },
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{"type": "docs", "scope": "README", "release": "patch"},
{"type": "refactor", "release": "patch"},
{"type": "style", "release": "patch"},
{"type": "build", "release": "patch"}
]
}
],
"debug": true,
"repositoryUrl": "https://github.com/rubencabrera/odoo-addons.git",
"tagFormat": "${version}",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [
{"type": "docs", "scope": "README", "release": "patch"},
{"type": "refactor", "release": "patch"},
{"type": "style", "release": "patch"},
{"type": "build", "release": "patch"}
]
}
],
"@semantic-release/git"
]
},
"keywords": [
"odoo"
],
"author": "Rubén Cabrera Martínez",
"license": "LGPL-3.0"
"@semantic-release/github"
],
"publish": { "@semantic-release/github" },
"repositoryUrl": "https://github.com/rubencabrera/odoo-addons.git",
"tagFormat": "${version}",
"verifyConditions": { "@semantic-release/github" }
}

0 comments on commit 95e2880

Please sign in to comment.