Skip to content

Commit

Permalink
ci(rl): update toml ver and add releaserc file
Browse files Browse the repository at this point in the history
  • Loading branch information
benbenbang committed Oct 30, 2022
1 parent 030fdd0 commit af2fa4b
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 1 deletion.
173 changes: 173 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
{
"branches": "main",
"parserOpts": {
"revertPattern": "^Revert\\s.(\\w*\\([\\w\\$\\.\\-\\* ]*\\)\\: .*).\\s*This reverts commit (\\w*)?"
},
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"parserOpts": {
"noteKeywords": [
"BREAKING CHANGE",
"BREAKING CHANGES"
]
},
"preset": "conventionalcommits",
"releaseRules": [
{
"release": "major",
"type": "*!"
},
{
"release": "minor",
"type": "feat"
},
{
"release": "patch",
"type": "perf"
},
{
"release": "patch",
"type": "build"
},
{
"release": "patch",
"type": "ops"
},
{
"release": "patch",
"type": "refactor"
},
{
"release": "patch",
"type": "ci"
},
{
"release": "patch",
"type": "hotfix"
},
{
"release": "patch",
"type": "fix"
}
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/github",
{
"gitlabUrl": "https://github.com/benbenbang"
}
]
],
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"section": ":zap: Breaking Changes",
"type": "*!"
},
{
"hidden": false,
"section": ":gift: Features",
"type": "feat"
},
{
"hidden": false,
"section": ":tools: Enhancement & Maintenance",
"type": "refactor"
},
{
"hidden": false,
"section": ":hotsprings: CI & Dev & Infra",
"type": "ci"
},
{
"hidden": false,
"section": ":hotsprings: CI & Dev & Infra",
"type": "ops"
},
{
"hidden": false,
"section": ":hotsprings: CI & Dev & Infra",
"type": "chore"
},
{
"hidden": false,
"section": ":fire: Hotfixes",
"type": "hotfix"
},
{
"hidden": false,
"section": ":beetle: Bug Fixes",
"type": "fix"
},
{
"hidden": false,
"section": ":track_previous: Reverts",
"type": "revert"
},
{
"hidden": true,
"type": "build"
},
{
"hidden": true,
"type": "wip"
},
{
"hidden": true,
"type": "docs"
},
{
"hidden": true,
"type": "test"
},
{
"hidden": true,
"type": "release"
}
]
},
"releaseRules": [
{
"release": "major",
"type": "feat"
},
{
"release": "patch",
"type": "perf"
},
{
"release": "patch",
"type": "build"
},
{
"release": "patch",
"type": "ops"
},
{
"release": "patch",
"type": "ci"
},
{
"release": "patch",
"type": "refactor"
},
{
"release": "patch",
"type": "chore"
},
{
"release": "patch",
"type": "hotfix"
},
{
"release": "patch",
"type": "fix"
}
],
"tagFormat": "${version}"
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "flask-providers-session"
version = "0.4.0"
version = "0.4.1"
description = "Fork version flask session"
authors = ["benbenbang <[email protected]>"]
maintainers = [
Expand Down

0 comments on commit af2fa4b

Please sign in to comment.